MidiOPG

class lsst.ts.tunablelaser.MidiOPG(component)

Bases: CanbusModule

Implement the MidiOPG module which controls the wavelength register.

Parameters:
componentLaser

The laser component.

Attributes:
namestr

The name of the canbus module.

idint

The ID of the canbus module.

componentLaser

A reference to the laser.

wavelength_registerAsciiRegister

The register that controls the wavelength.

Methods Summary

change_wavelength(value)

Change wavelength.

update_register()

Update all registers.

Methods Documentation

async change_wavelength(value)

Change wavelength.

Parameters:
valuefloat

The wavelength value.

async update_register()

Update all registers.