Laser ===== .. java:package:: ch.epfl.leb.alica :noindex: .. java:type:: public interface Laser Laser recieves input from the controller and adjusts the laser power accordingly. :author: Marcel Stefko Methods ------- getDeviceName ^^^^^^^^^^^^^ .. java:method:: public String getDeviceName() :outertype: Laser :return: unique device name (assigned by MicroManager) getLaserPower ^^^^^^^^^^^^^ .. java:method:: public double getLaserPower() throws Exception :outertype: Laser Asks the hardware for current actual value of laser power :throws Exception: if error occurred during communication with hardware :return: actual laser power value getLaserPowerCached ^^^^^^^^^^^^^^^^^^^ .. java:method:: public double getLaserPowerCached() :outertype: Laser Returns cached value of laser power, without querying the hardware for actual value. :return: cached laser power value getMaxPower ^^^^^^^^^^^ .. java:method:: public double getMaxPower() :outertype: Laser :return: maximal allowed value of laser power getMinPower ^^^^^^^^^^^ .. java:method:: public double getMinPower() :outertype: Laser :return: minimal allowed value of laser power getPropertyName ^^^^^^^^^^^^^^^ .. java:method:: public String getPropertyName() :outertype: Laser :return: unique device property name (assigned by MicroManager) setLaserPower ^^^^^^^^^^^^^ .. java:method:: public double setLaserPower(double desired_power) throws Exception :outertype: Laser Set the laser power to desired value :param desired_power: desired laser power value :throws Exception: if error occurred during communication with hardware :return: actual laser power value