pyrolab.drivers.lasers.ppcl55x.PPCL55xBase

Contents

pyrolab.drivers.lasers.ppcl55x.PPCL55xBase#

class PPCL55xBase[source]#

Bases: Laser

Base class for a generic Pure Photonics Tunable Laser. Do not instantiate.

The laser must already be physically powered and connected to a USB port of some host computer, whether that be a local machine or one hosted by a PyroLab server. Methods such as on() and off() will simply turn the laser diode on and off, not the laser itself.

Attributes:
MAXIMUM_FREQUENCY
MAXIMUM_POWER_MW
MINIMUM_FREQUENCY
MINIMUM_POWER_MW

Methods

autoconnect()

Autoconnect to an instrument using internally stored parameters.

close()

Disconnect from the laser

connect([port, baudrate])

Connects to and initializes the laser.

detect_devices()

Returns a list of connection parameters for available devices.

frequency([frequency])

Set the frequncy of the laser.

off()

Turn off the laser

on()

Turn on the laser

ping()

Returns a bool (True) to indicate that the Daemon is alive and can be communicated with.

power_dBm([power])

Set the power on the laser.

power_mW([power])

Set the power on the laser.

pyrolab_version()

Return the version of PyroLab running the device.

set_behavior([instance_mode, instance_creator])

Sets the Pyro5 behavior for the class (modified in place).

set_channel(channel)

Set the channel (should always be 1)

set_mode(mode)

Set the mode of operation for the laser

wavelength([wavelength])

Set the wavelength of the laser.