|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
One streamed analog input. More...
#include <T7Config.hpp>
Public Member Functions | |
| int | negative_ch () const |
| AIN#_NEGATIVE_CH value: 199 = single-ended, else the paired odd input. | |
Public Attributes | |
| int | ain = -1 |
| AIN number on the device, 0-13. | |
| std::string | kind |
| "PT" | "TC" | "LC" | "RTD" | "VOLTAGE" — what is wired to it. | |
| std::string | role |
| Sensor name, e.g. "LOX Tank" — what the GUI calls it. | |
| double | range_v = 10 |
| +/- input range in volts: 10, 1, 0.1 or 0.01. | |
| bool | differential = false |
| true: AIN(ain) - AIN(ain+1); ain must be even. | |
| std::string | tc_type |
| Thermocouple type letter (kind == "TC" only): "K". | |
| double | full_scale = 0 |
| PT: psi at full output. LC: kg at rated output. | |
| std::string | signal |
| PT output: "0-5V" "0.5-4.5V" "1-5V" "0-10V" "4-20mA". | |
| double | shunt_ohms = 0 |
| PT "4-20mA": the resistor the loop current crosses. | |
| double | sensitivity_mv_per_v = 0 |
| LC: rated output, mV per V of excitation. | |
| double | excitation_v = 0 |
| LC: bridge excitation voltage. | |
| double | r0_ohms = 0 |
| RTD: resistance at 0 C, 100 (Pt100) or 1000 (Pt1000). | |
| double | ljtr_ohms = 0 |
| RTD: the tick's fixed resistor, 1k/10k/100k/1M by model. | |
| double | vref_v = 2.5 |
| RTD: the tick's reference. | |
One streamed analog input.
Definition at line 37 of file T7Config.hpp.
|
inline |
AIN#_NEGATIVE_CH value: 199 = single-ended, else the paired odd input.
Definition at line 62 of file T7Config.hpp.
References ain, and differential.
| int fsw::config::T7Channel::ain = -1 |
AIN number on the device, 0-13.
Definition at line 38 of file T7Config.hpp.
Referenced by fsw::config::anonymous_namespace{SensorTables.cpp}::makeT7Ref(), negative_ch(), fsw::config::detail::parse_t7_boards(), and fsw::config::detail::anonymous_namespace{T7Config.cpp}::stream_limit_issues().
| bool fsw::config::T7Channel::differential = false |
true: AIN(ain) - AIN(ain+1); ain must be even.
Definition at line 42 of file T7Config.hpp.
Referenced by negative_ch(), and fsw::config::detail::parse_t7_boards().
| double fsw::config::T7Channel::excitation_v = 0 |
LC: bridge excitation voltage.
Definition at line 52 of file T7Config.hpp.
Referenced by main(), and fsw::config::detail::parse_t7_boards().
| double fsw::config::T7Channel::full_scale = 0 |
PT: psi at full output. LC: kg at rated output.
Definition at line 48 of file T7Config.hpp.
Referenced by main(), and fsw::config::detail::parse_t7_boards().
| std::string fsw::config::T7Channel::kind |
"PT" | "TC" | "LC" | "RTD" | "VOLTAGE" — what is wired to it.
Definition at line 39 of file T7Config.hpp.
Referenced by main(), fsw::config::detail::parse_t7_boards(), and backend.routers.layerx.Job::view().
| double fsw::config::T7Channel::ljtr_ohms = 0 |
RTD: the tick's fixed resistor, 1k/10k/100k/1M by model.
Definition at line 57 of file T7Config.hpp.
Referenced by fsw::config::detail::parse_t7_boards().
| double fsw::config::T7Channel::r0_ohms = 0 |
RTD: resistance at 0 C, 100 (Pt100) or 1000 (Pt1000).
Definition at line 56 of file T7Config.hpp.
Referenced by fsw::config::detail::parse_t7_boards().
| double fsw::config::T7Channel::range_v = 10 |
+/- input range in volts: 10, 1, 0.1 or 0.01.
Definition at line 41 of file T7Config.hpp.
Referenced by fsw::config::detail::parse_t7_boards(), and fsw::config::detail::anonymous_namespace{T7Config.cpp}::stream_limit_issues().
| std::string fsw::config::T7Channel::role |
Sensor name, e.g. "LOX Tank" — what the GUI calls it.
Definition at line 40 of file T7Config.hpp.
Referenced by fsw::config::anonymous_namespace{SensorTables.cpp}::makeT7Ref(), and fsw::config::detail::parse_t7_boards().
| double fsw::config::T7Channel::sensitivity_mv_per_v = 0 |
LC: rated output, mV per V of excitation.
Definition at line 51 of file T7Config.hpp.
Referenced by main(), and fsw::config::detail::parse_t7_boards().
| double fsw::config::T7Channel::shunt_ohms = 0 |
PT "4-20mA": the resistor the loop current crosses.
Definition at line 50 of file T7Config.hpp.
Referenced by main(), and fsw::config::detail::parse_t7_boards().
| std::string fsw::config::T7Channel::signal |
PT output: "0-5V" "0.5-4.5V" "1-5V" "0-10V" "4-20mA".
Definition at line 49 of file T7Config.hpp.
Referenced by feedtwin.comps.elements.Valve::_gas(), feedtwin.comps.regulator.Regulator::_gas_seat(), feedtwin.comps.elements.Valve::_legacy_liquid_ceiling(), feedtwin.comps.regulator.Regulator::commanded_setpoint(), feedtwin.comps.elements.Valve::diagnostics(), feedtwin.comps.regulator.Regulator::diagnostics(), main(), fsw::config::detail::parse_t7_boards(), and feedtwin.comps.elements.Valve::pressure_drop().
| std::string fsw::config::T7Channel::tc_type |
Thermocouple type letter (kind == "TC" only): "K".
Definition at line 43 of file T7Config.hpp.
Referenced by fsw::config::detail::parse_t7_boards().
| double fsw::config::T7Channel::vref_v = 2.5 |
RTD: the tick's reference.
2.5 V +/-0.04 % per its datasheet; set a measured value here.
Definition at line 59 of file T7Config.hpp.
Referenced by fsw::config::detail::parse_t7_boards().