ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
wasatch.ControlObject.ControlObject Class Reference

A class holding setting-value pairs sent from ENLIGHTEN to the spectrometer. More...

Public Member Functions

 __init__ (self, setting, value)
 
 __str__ (self)
 

Public Attributes

 setting = setting
 
 value = value
 

Detailed Description

A class holding setting-value pairs sent from ENLIGHTEN to the spectrometer.

Compare to StatusMessage as an outbound (spectrometer thread -> ENLIGHTEN) counterpart.

There is no enumeration of supported settings, but CommandSettings is an (unused) step in that direction. For now, the true master list would be the set implemented by FeatureIdentificationDevice.write_setting.

These are also used by the alert_queue.

Constructor & Destructor Documentation

◆ __init__()

wasatch.ControlObject.ControlObject.__init__ ( self,
setting,
value )

Member Function Documentation

◆ __str__()

wasatch.ControlObject.ControlObject.__str__ ( self)

Member Data Documentation

◆ setting

wasatch.ControlObject.ControlObject.setting = setting

◆ value

wasatch.ControlObject.ControlObject.value = value

The documentation for this class was generated from the following file: