lantz.drivers.mpb

company:MPB Communications Inc.
description:Laser products.
website:http://www.mpbc.ca/

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

Bases: lantz.messagebased.MessageBasedDriver

Driver for any VFL MPB Communications 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.

tune_shg_async(*args, **kwargs)
tune_shg_stop_async(*args, **kwargs)
DEFAULTS = {'ASRL': {'baud_rate': 1200, 'write_termination': '\rD >', 'parity': <Parity.none: 0>, 'bytesize': 8, 'encoding': 'ascii', 'stop_bits': <StopBits.one: 10>, 'read_termination': '\r\n'}}
DEFAULTS_changed
ctl_mode

To handle laser diode current (mA) in Active Current Control Mode

Values:{‘ACC’: ‘0’, ‘APC’: ‘1’}
ctl_mode_changed
current_sp

To handle laser diode current (mA) in Active Current Control Mode

Units:mA
current_sp_changed
enabled

Method for turning on the laser

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

Identification of the device

idn_changed
ld_current

To get the laser diode current (mA)

Units:mA
ld_current_changed
ld_temp

To get the laser diode temperature (ºC)

Units:degC
ld_temp_changed
power

To get the laser emission power (mW)

Units:mW
power_changed
power_sp

To handle output power set point (mW) in APC Mode

Units:mW
power_sp_changed
shg_temp

To get the SHG temperature

Units:degC
shg_temp_changed
shg_temp_sp

To handle the SHG temperature set point

Units:degC
shg_temp_sp_changed
shg_tune_info

Getting information about laser ready for SHG tuning

shg_tune_info_changed
shg_tuning

Initiating SHG tuning

shg_tuning_changed
status

Current device status

status_changed
tec_current

To get the thermoelectric cooler (TEC) current (mA)

Units:mA
tec_current_changed
tec_temp

To get the thermoelectric cooler (TEC) temperature (ºC)

Units:degC
tec_temp_changed
tune_shg = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f3804dc09e8>>, None)
tune_shg_changed
tune_shg_stop = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f3804dc0a58>>, None)
tune_shg_stop_changed