CPU8000

class lsst.ts.tunablelaser.CPU8000(component, simulation_mode=False)

Bases: CanbusModule

Implement the CPU8000 laser module which displays information about the primary CPU of the laser.

This module contains registers about the power state, fault code and the current.

Parameters:
componentLaser

The laser component.

simulation_modebool, optional

False for normal operation, true for simulation operation.

Attributes:
loglogging.Logger

The log for the class.

namestr

Name of the module.

idint

The ID of the module.

commanderTCPIPClient

A reference to the tcp/ip client.

power_registerAsciiRegister

Handles the “Power” register for this module.

display_current_registerAsciiRegister

Handles the “Display current” register.

fault_registerAsciiRegister

Handles the “Fault code” register.

Methods Summary

update_register()

Publish the registers located inside of this module.

Methods Documentation

async update_register()

Publish the registers located inside of this module.

Returns:
None