91 return static_cast<uint8_t
>(m == 0 ? 10 : m);
constexpr int kT7MaxAin
Highest AIN number on a T7 without an expansion mux (AIN0-AIN13).
Motorized ball valve position: raw ADC counts -> % open.
std::vector< T7Channel > channels
double settling_us
STREAM_SETTLING_US; 0 = automatic.
int scans_per_read
Scans per LJM_eStreamRead; 0 = scan_rate/20 (a 50 ms block).
double cjc_offset_k
Thermocouple cold junction = T7 internal sensor + this (K).
int effective_scans_per_read() const
scans_per_read with the default applied; always >= 1.
int64_t serial
Optional; when non-zero t7_bridge checks the unit that answered.
int resolution_index
STREAM_RESOLUTION_INDEX; 0 = device default.
std::string section
"boards.labjack_1"
uint8_t slot() const
Elodin slot, same rule as BoardConfig::slot(): board_id % 10, 0 -> 10.
One streamed analog input.
double ljtr_ohms
RTD: the tick's fixed resistor, 1k/10k/100k/1M by model.
int negative_ch() const
AIN::_NEGATIVE_CH value: 199 = single-ended, else the paired odd input.
double r0_ohms
RTD: resistance at 0 C, 100 (Pt100) or 1000 (Pt1000).
int ain
AIN number on the device, 0-13.
double vref_v
RTD: the tick's reference.
std::string tc_type
Thermocouple type letter (kind == "TC" only): "K".
std::string kind
"PT" | "TC" | "LC" | "RTD" | "VOLTAGE" — what is wired to it.
double shunt_ohms
PT "4-20mA": the resistor the loop current crosses.
std::string signal
PT output: "0-5V" "0.5-4.5V" "1-5V" "0-10V" "4-20mA".
double full_scale
PT: psi at full output. LC: kg at rated output.
double range_v
+/- input range in volts: 10, 1, 0.1 or 0.01.
std::string role
Sensor name, e.g. "LOX Tank" — what the GUI calls it.
double excitation_v
LC: bridge excitation voltage.
double sensitivity_mv_per_v
LC: rated output, mV per V of excitation.
bool differential
true: AIN(ain) - AIN(ain+1); ain must be even.