|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
One [boards. More...
#include <T7Config.hpp>
Public Member Functions | |
| uint8_t | slot () const |
| Elodin slot, same rule as BoardConfig::slot(): board_id % 10, 0 -> 10. | |
| int | effective_scans_per_read () const |
| scans_per_read with the default applied; always >= 1. | |
Public Attributes | |
| std::string | section |
| "boards.labjack_1" | |
| std::string | ip |
| std::string | mac |
| int64_t | serial = 0 |
| Optional; when non-zero t7_bridge checks the unit that answered. | |
| int | board_id = -1 |
| bool | enabled = true |
| double | scan_rate_hz = 100.0 |
| int | resolution_index = 0 |
| STREAM_RESOLUTION_INDEX; 0 = device default. | |
| double | settling_us = 0.0 |
| STREAM_SETTLING_US; 0 = automatic. | |
| int | scans_per_read = 0 |
| Scans per LJM_eStreamRead; 0 = scan_rate/20 (a 50 ms block). | |
| double | cjc_offset_k = -3.0 |
| Thermocouple cold junction = T7 internal sensor + this (K). | |
| std::vector< T7Channel > | channels |
| int fsw::config::T7Board::effective_scans_per_read | ( | ) | const |
scans_per_read with the default applied; always >= 1.
Definition at line 14 of file T7Config.cpp.
References scan_rate_hz, and scans_per_read.
|
inline |
Elodin slot, same rule as BoardConfig::slot(): board_id % 10, 0 -> 10.
Definition at line 89 of file T7Config.hpp.
References board_id.
| int fsw::config::T7Board::board_id = -1 |
Definition at line 73 of file T7Config.hpp.
Referenced by board_simulator.SimulatedBoard::_generate_data(), board_simulator.SimulatedBoard::_send_heartbeat(), and slot().
| std::vector<T7Channel> fsw::config::T7Board::channels |
Definition at line 86 of file T7Config.hpp.
Referenced by main().
| double fsw::config::T7Board::cjc_offset_k = -3.0 |
Thermocouple cold junction = T7 internal sensor + this (K).
The default is LabJack's figure for the built-in screw terminals AIN0-AIN3: "expect the returned value [TEMPERATURE_DEVICE_K] minus 3 C to reflect the temperature of the built-in screw-terminals with an accuracy of +/-2.5 C" (datasheet 18.0). A TC on a CB37 (AIN4-13 are DB37 only) is at air temperature instead: TEMPERATURE_AIR_K, device - 4.3 K on USB,
Definition at line 85 of file T7Config.hpp.
| bool fsw::config::T7Board::enabled = true |
Definition at line 74 of file T7Config.hpp.
Referenced by main(), and engine.pipeline.stability.chug.Regulator::modelled().
| std::string fsw::config::T7Board::ip |
Definition at line 70 of file T7Config.hpp.
Referenced by board_simulator.SimulatedBoard::start().
| std::string fsw::config::T7Board::mac |
Definition at line 71 of file T7Config.hpp.
| int fsw::config::T7Board::resolution_index = 0 |
STREAM_RESOLUTION_INDEX; 0 = device default.
Definition at line 76 of file T7Config.hpp.
| double fsw::config::T7Board::scan_rate_hz = 100.0 |
Definition at line 75 of file T7Config.hpp.
Referenced by effective_scans_per_read().
| int fsw::config::T7Board::scans_per_read = 0 |
Scans per LJM_eStreamRead; 0 = scan_rate/20 (a 50 ms block).
Definition at line 78 of file T7Config.hpp.
Referenced by effective_scans_per_read().
| std::string fsw::config::T7Board::section |
"boards.labjack_1"
Definition at line 69 of file T7Config.hpp.
| int64_t fsw::config::T7Board::serial = 0 |
Optional; when non-zero t7_bridge checks the unit that answered.
Definition at line 72 of file T7Config.hpp.
| double fsw::config::T7Board::settling_us = 0.0 |
STREAM_SETTLING_US; 0 = automatic.
Definition at line 77 of file T7Config.hpp.