Laser

public interface Laser

Laser recieves input from the controller and adjusts the laser power accordingly.

Author:Marcel Stefko

Methods

getDeviceName

public String getDeviceName()
Returns:unique device name (assigned by MicroManager)

getLaserPower

public double getLaserPower()

Asks the hardware for current actual value of laser power

Throws:
  • Exception – if error occurred during communication with hardware
Returns:

actual laser power value

getLaserPowerCached

public double getLaserPowerCached()

Returns cached value of laser power, without querying the hardware for actual value.

Returns:cached laser power value

getMaxPower

public double getMaxPower()
Returns:maximal allowed value of laser power

getMinPower

public double getMinPower()
Returns:minimal allowed value of laser power

getPropertyName

public String getPropertyName()
Returns:unique device property name (assigned by MicroManager)

setLaserPower

public double setLaserPower(double desired_power)

Set the laser power to desired value

Parameters:
  • desired_power – desired laser power value
Throws:
  • Exception – if error occurred during communication with hardware
Returns:

actual laser power value