LabJackDataClient#
- class lsst.ts.ess.labjack.LabJackDataClient(config, topics, log, simulation_mode=0)#
Bases:
BaseLabJackDataClientGet environmental data from a LabJack T7 or similar.
- Parameters:
name (str)
config (types.SimpleNamespace) – The configuration, after validation by the schema returned by
get_config_schemaand conversion to a types.SimpleNamespace.topics (
salobj.Controller) – The telemetry topics this model can write, as a struct with attributes such astel_temperature.log (
logging.Logger) – Logger.simulation_mode (
int, optional) – Simulation mode; 0 for normal operation.
Methods Summary
Store device configurations.
Get the config schema as jsonschema dict.
Read and process data from the LabJack.
Methods Documentation
- configure()#
Store device configurations.
Also initialize all output arrays to NaNs.
This provides easy access when processing telemetry.
- Return type:
- classmethod get_config_schema()#
Get the config schema as jsonschema dict.