|
def | on_activate (self) |
| Activate module.
|
|
def | on_deactivate (self) |
| Deactivate module.
|
|
def | connect_laser (self) |
| Connect to Instrument. More...
|
|
def | disconnect_laser (self) |
| Close the connection to the instrument.
|
|
def | allowed_control_modes (self) |
| Control modes for this laser.
|
|
def | get_control_mode (self) |
| Get current laser control mode. More...
|
|
def | set_control_mode (self, mode) |
| Set laser control mode. More...
|
|
def | get_power (self) |
| Get laser power. More...
|
|
def | get_power_setpoint (self) |
| Get the laser power setpoint. More...
|
|
def | get_power_range (self) |
| Get laser power range. More...
|
|
def | set_power (self, power) |
| Set laser power. More...
|
|
def | get_current_unit (self) |
| Get unit for laser current. More...
|
|
def | get_current_range (self) |
| Get range for laser current. More...
|
|
def | get_current (self) |
| Cet current laser current. More...
|
|
def | get_current_setpoint (self) |
| Current laser current setpoint. More...
|
|
def | set_current (self, current_percent) |
| Set laser current setpoint. More...
|
|
def | get_shutter_state (self) |
| Get laser shutter state. More...
|
|
def | set_shutter_state (self, state) |
| Set the desired laser shutter state. More...
|
|
def | get_temperatures (self) |
| Get all available temperatures. More...
|
|
def | set_temperatures (self, temps) |
| Set temperature for lasers with adjustable temperature for tuning. More...
|
|
def | get_temperature_setpoints (self) |
| Get temperature setpints. More...
|
|
def | get_laser_state (self) |
| Get laser operation state. More...
|
|
def | set_laser_state (self, status) |
| Set desited laser state. More...
|
|
def | on (self) |
| Turn laser on. More...
|
|
def | off (self) |
| Turn laser off. More...
|
|
def | get_extra_info (self) |
| Extra information from laser. More...
|
|
def | __init__ (self, manager, name, config=None, callbacks=None, kwargs) |
| Initialise Base class object and set up its state machine. More...
|
|
def | log (self) |
| Returns a logger object.
|
|
def | is_module_threaded (self) |
| Returns whether the module shall be started in a thread.
|
|
def | on_activate (self) |
| Method called when module is activated. More...
|
|
def | on_deactivate (self) |
| Method called when module is deactivated. More...
|
|
def | getStatusVariables (self) |
| Return a dict of variable names and their content representing the module state for saving. More...
|
|
def | setStatusVariables (self, variableDict) |
| Give a module a dict of variable names and their content representing the module state. More...
|
|
def | getConfiguration (self) |
| Return the configration dictionary for this module. More...
|
|
def | get_connector (self, connector_name) |
| Return module connected to the given named connector. More...
|
|
def | __new__ (cls, name, bases, attrs) |
| Collect declared Connectors, ConfigOptions and StatusVars into dictionaries. More...
|
|
Implements the Coherent OBIS laser.
Example config for copy-paste:
obis_laser: module 'laser.coherent_obis_laser.OBISLaser' com_port 'COM3'