|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| PtRoleRef | makeRef (const BoardConfig &b, std::string board_key, std::string role, int channel) |
| Fill in the derived half of a ref once board/role/channel are known. | |
| bool | usablePtBoard (const BoardConfig &b) |
| The boards a PT role can live on. | |
| PtRoleRef | makeT7Ref (const T7Board &b, const T7Channel &c) |
| A PT input on a LabJack T7: calibration_service publishes it on the T7 calibrated table in the same CalibratedPTMessage layout as an ESP32 PT, so a reader cannot tell them apart. | |
| std::vector< PtRoleRef > | t7PtRefs (const Config &cfg) |
| Every PT input t7_bridge will actually stream. | |
| PtRoleRef fsw::config::anonymous_namespace{SensorTables.cpp}::makeRef | ( | const BoardConfig & | b, |
| std::string | board_key, | ||
| std::string | role, | ||
| int | channel ) |
| PtRoleRef fsw::config::anonymous_namespace{SensorTables.cpp}::makeT7Ref | ( | const T7Board & | b, |
| const T7Channel & | c ) |
A PT input on a LabJack T7: calibration_service publishes it on the T7 calibrated table in the same CalibratedPTMessage layout as an ESP32 PT, so a reader cannot tell them apart.
Definition at line 34 of file SensorTables.cpp.
References fsw::config::T7Channel::ain, b, fsw::t7::calibrated_table_id(), makeT7Ref(), r, and fsw::config::T7Channel::role.
Referenced by makeT7Ref(), and t7PtRefs().
| std::vector< PtRoleRef > fsw::config::anonymous_namespace{SensorTables.cpp}::t7PtRefs | ( | const Config & | cfg | ) |
Every PT input t7_bridge will actually stream.
It refuses to start on any T7 config error, so then there are none: a script naming one is refused at load rather than waiting on silence.
Definition at line 49 of file SensorTables.cpp.
References b, makeT7Ref(), and t7PtRefs().
Referenced by t7PtRefs().
| bool fsw::config::anonymous_namespace{SensorTables.cpp}::usablePtBoard | ( | const BoardConfig & | b | ) |
The boards a PT role can live on.
Mirrors the abort-threshold walk's filter exactly.
Definition at line 28 of file SensorTables.cpp.
References b, and usablePtBoard().
Referenced by usablePtBoard().