STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
T7Board Struct Reference

One [boards. More...

#include <T7Config.hpp>

Collaboration diagram for T7Board:
[legend]

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

Detailed Description

One [boards.

*] section with type = "T7".

Definition at line 68 of file T7Config.hpp.

Member Function Documentation

◆ effective_scans_per_read()

scans_per_read with the default applied; always >= 1.

Definition at line 14 of file T7Config.cpp.

◆ slot()

uint8_t fsw::config::T7Board::slot ( ) const
inline

Elodin slot, same rule as BoardConfig::slot(): board_id % 10, 0 -> 10.

Definition at line 89 of file T7Config.hpp.

Member Data Documentation

◆ board_id

Definition at line 73 of file T7Config.hpp.

◆ channels

std::vector<T7Channel> fsw::config::T7Board::channels

Definition at line 86 of file T7Config.hpp.

◆ cjc_offset_k

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,

  • 4.9 K on USB + Ethernet. Measure it on the stand either way and set it.

Definition at line 85 of file T7Config.hpp.

◆ enabled

Definition at line 74 of file T7Config.hpp.

◆ ip

Definition at line 70 of file T7Config.hpp.

◆ mac

Definition at line 71 of file T7Config.hpp.

◆ resolution_index

STREAM_RESOLUTION_INDEX; 0 = device default.

Definition at line 76 of file T7Config.hpp.

◆ scan_rate_hz

Definition at line 75 of file T7Config.hpp.

◆ scans_per_read

Scans per LJM_eStreamRead; 0 = scan_rate/20 (a 50 ms block).

Definition at line 78 of file T7Config.hpp.

◆ section

"boards.labjack_1"

Definition at line 69 of file T7Config.hpp.

◆ serial

Optional; when non-zero t7_bridge checks the unit that answered.

Definition at line 72 of file T7Config.hpp.

◆ settling_us

STREAM_SETTLING_US; 0 = automatic.

Definition at line 77 of file T7Config.hpp.


The documentation for this struct was generated from the following files: