VirtualLaser

public class VirtualLaser implements Laser

A virtual laser which does not actually output the values to the laser, only to the GUI and the debug MM log.

Author:Marcel Stefko

Constructors

VirtualLaser

public VirtualLaser(Studio studio, String device_name, String property_name, double min_power, double max_power)

Initialize the virtual laser

Parameters:
  • studio – MMStudio
  • device_name – MM identifier of the device
  • property_name – MM identifier of the property to be controlled
  • min_power – minimal allowed property value
  • max_power – maximal allowed property value

Methods

getDeviceName

public String getDeviceName()

getLaserPower

public double getLaserPower()

getLaserPowerCached

public double getLaserPowerCached()

getMaxPower

public double getMaxPower()

getMinPower

public double getMinPower()

getPropertyName

public String getPropertyName()

setLaserPower

public double setLaserPower(double desired_power)