33double cjc_temp_c(
double ain14_v,
double device_offset_k,
double cjc_offset_k);
42double tc_c(
double volts,
double cold_junction_c);
double cjc_device_offset_k(double device_temp_k, double ain14_v)
AIN14 offset (K) that makes slope*ain14_v land on the device's own temperature reading.
constexpr double kAin14SlopeKPerV
The T7's internal temperature sensor (an LM94021 on AIN14) reads "Device temperature K =volts * -92....
double lc_kg(double volts, const config::T7Channel &ch)
LC: a bridge's output is sensitivity x excitation at rated load.
double rtd_ohms(double volts, const config::T7Channel &ch)
RTD on an LJTick-Resistance: the divider's output volts -> the RTD's ohms.
const char * calibrated_field(const std::string &kind)
The Elodin field a calibrated channel of this kind publishes ("pressure_psi", ...),...
double tc_c(double volts, double cold_junction_c)
Type K thermocouple: the measured EMF plus the EMF the cold junction subtracts.
double cjc_temp_c(double ain14_v, double device_offset_k, double cjc_offset_k)
Cold-junction temperature (C) from a streamed AIN14 reading.
double pt_psi(double volts, const config::T7Channel &ch)
PT: linear between the signal's zero and full-scale outputs.
constexpr double kAin14NominalOffsetK
Nominal AIN14 offset (K), datasheet 18.0.
double rtd_c(double volts, const config::T7Channel &ch)
RTD: ohms -> C on the IEC 60751 curve (full Callendar-Van Dusen, C term below 0 C).
Motorized ball valve position: raw ADC counts -> % open.
One streamed analog input.
static double volts(uint32_t code)
Shunt volts for a code, as calibration_main's convert_hp_pt_to_pressure computes it.
static std::string ch(int ain, const std::string &kind, const std::string &extra="", const std::string &board="lj")