lantz.drivers.rgblasersystems

company:RGB Lasersysteme GmbH.
description:Lasers and Lasers Systems.
website:http://www.rgb-laser.com/

copyright:2015 by Lantz Authors, see AUTHORS for more details.
license:BSD, see LICENSE for more details.
class lantz.drivers.rgblasersystems.MiniLasEvo(resource_name, name=None, **kwargs)

Bases: lantz.messagebased.MessageBasedDriver

Driver for any RGB Lasersystems MiniLas Evo 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.

initialize()
query(command, *, send_args=(None, None), recv_args=(None, None))

Send query to the laser and return the answer, after handling possible errors.

Parameters:
  • command (string) – command to be sent to the instrument
  • send_args – (termination, encoding) to override class defaults
  • recv_args – (termination, encoding) to override class defaults
DEFAULTS = {'ASRL': {'read_termination': '\r\n', 'baud_rate': 57600, 'write_termination': '\r\n', 'stop_bits': <StopBits.one: 10>, 'encoding': 'ascii', 'bytesize': 8, 'parity': <Parity.none: 0>}}
DEFAULTS_changed
available_features

Available features (reserved for future use)

available_features_changed
control_mode

Active current (power) control

control_mode_changed
emission_wavelenght

Emission wavelenght in nm

emission_wavelenght_changed
enabled

Method for turning on the laser

Values:{False: ‘0’, True: ‘1’}
enabled_changed
idn

Identification of the device

idn_changed
initialize_changed
maximum_power

Gets the maximum emission power of the laser

Units:mW
maximum_power_changed
operating_hours

Total operating hours [hhhh:mm]

operating_hours_changed
power

Gets and sets the emission power

Units:mW
power_changed
power_sp

Gets and sets the emission power

Units:mW
power_sp_changed
query_changed
software_version

Software version

software_version_changed
status

Current device status

status_changed
temperature

Current temperature in ºC

temperature_changed
temperature_max

Highest operating temperature in ºC

temperature_max_changed
temperature_min

Lowest operating temperature in ºC

temperature_min_changed