lantz.drivers.cobolt¶
| company: | Cobolt. |
|---|---|
| description: | DPSS lasers, diode laser modules, fiber pigtailed lasers. |
| website: | http://www.cobolt.se/ |
| copyright: | 2015 by Lantz Authors, see AUTHORS for more details. |
|---|---|
| license: | BSD, see LICENSE for more details. |
-
class
lantz.drivers.cobolt.Cobolt0601(resource_name, name=None, **kwargs)[source]¶ Bases:
lantz.messagebased.MessageBasedDriverDriver for any Cobolt 06-01 Series laser.
Parameters: - resource_name (str) – The resource name
- kwargs – keyword arguments passed to the resource during initialization.
Params name: easy to remember identifier given to the instance for logging purposes.
-
clear_fault_async(*args, **kwargs)¶ (Async) Clear fault
-
enter_mod_mode_async(*args, **kwargs)¶ (Async) Enter modulation mode
-
restart_async(*args, **kwargs)¶ (Async) Forces the laser on without checking if autostart is enabled.
-
DEFAULTS= {'ASRL': {'baud_rate': 115200, 'parity': <Parity.none: 0>, 'read_termination': '\r', 'stop_bits': <StopBits.one: 10>, 'write_termination': '\r', 'bytesize': 8, 'encoding': 'ascii'}}¶
-
DEFAULTS_changed¶
-
analog_mod¶ analog modulation enable state
Values: {False: ‘0’, True: ‘1’}
-
analog_mod_changed¶
-
analogli_mod¶ analog modulation enable state
Values: {False: ‘0’, True: ‘1’}
-
analogli_mod_changed¶
-
autostart¶ Autostart handling
Values: {False: ‘0’, True: ‘1’}
-
autostart_changed¶
-
clear_fault= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4e429b0>>, None)¶
-
clear_fault_changed¶
-
ctl_mode¶ To handle laser control modes
Values: {‘ACC’, ‘APC’}
-
ctl_mode_changed¶
-
current_sp¶ Get drive current
Units: mA
-
current_sp_changed¶
-
digital_mod¶ digital modulation enable state
Values: {False: ‘0’, True: ‘1’}
-
digital_mod_changed¶
-
enabled¶ Method for turning on the laser. Requires autostart disabled.
Values: {False: ‘0’, True: ‘1’}
-
enabled_changed¶
-
enter_mod_mode= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4e42a20>>, None)¶
-
enter_mod_mode_changed¶
-
idn¶ Get serial number
-
idn_changed¶
-
initialize_changed¶
-
interlock¶ Get interlock state
Values: {‘Interlock open’: ‘1’, ‘OK’: ‘0’}
-
interlock_changed¶
-
ksw_enabled¶ Handling Key Switch enable state
Values: {False: ‘0’, True: ‘1’}
-
ksw_enabled_changed¶
-
mod_mode¶ Returns the current operating mode
Values: {‘Fault’: ‘5’, ‘Modulation’: ‘4’, ‘Off’: ‘0’, ‘Continuous’: ‘2’, ‘Waiting for key’: ‘1’, ‘On/Off Modulation’: ‘3’, ‘Aborted’: ‘6’}
-
mod_mode_changed¶
-
operating_hours¶ Get Laser Head operating hours
-
operating_hours_changed¶
-
power¶ Read output power
Units: mW
-
power_changed¶
-
power_sp¶ To handle output power set point (mW) in constant power mode
Units: mW
-
power_sp_changed¶
-
restart= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4ebb630>>, None)¶
-
restart_changed¶
-
status¶ Get operating fault
Values: {‘Constant power time out’: ‘4’, ‘No errors’: ‘0’, ‘Interlock error’: ‘3’, ‘Temperature error’: ‘1’}
-
status_changed¶