|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <cmath>#include <cstdint>#include <iostream>#include <string>#include "calibration/SensorCalibration.hpp"Go to the source code of this file.
Functions | |
| static void | check (bool ok, const std::string &what) |
| static int32_t | code_at (double t_c) |
| The ADC code the board reports for an element at t_c. | |
| static double | read (int32_t code) |
| int | main () |
Variables | |
| static int | g_failures = 0 |
| constexpr double | kRef = 2.5 |
| constexpr double | kUa = 1000.0 |
| constexpr double | kR0 = 1000.0 |
|
static |
Definition at line 21 of file test_rtd_board.cpp.
References g_failures, and ok.
Referenced by main().
|
static |
The ADC code the board reports for an element at t_c.
Definition at line 30 of file test_rtd_board.cpp.
References kR0, kRef, kUa, fsw::calibration::rtd::CVDCoeffs::R0, fsw::calibration::rtd::temp_to_resistance_cvd(), and volts().
Referenced by main().
| int main | ( | ) |
Definition at line 41 of file test_rtd_board.cpp.
References check(), code_at(), g_failures, kR0, kRef, kUa, fsw::calibration::rtd::CVDCoeffs::R0, read(), fsw::calibration::rtd::resistance_to_temp_cvd(), fsw::calibration::rtd::resistance_to_temp_cvd_full(), fsw::calibration::rtd::rtd_board_adc_to_temp_c(), and fsw::calibration::rtd::temp_to_resistance_cvd().
|
static |
Definition at line 37 of file test_rtd_board.cpp.
References kR0, kRef, kUa, and fsw::calibration::rtd::rtd_board_adc_to_temp_c().
Referenced by stardesign.storage.S3Backend::_get(), feedtwin.session.core::_vessel_wall(), smart_calibration_gui.SmartCalibrationGUI::data_processor(), calibration_server.CalibrationHTTPRequestHandler::do_POST(), dummy_tcp_server(), main(), gui.Reader::run(), anonymous_namespace{ota_service_main.cpp}::runPioBuild(), FakeElodin::start(), test_props_performance::test_accessor_is_faster_than_get(), test_gas_viscosity_units::test_every_copy_of_the_fit_agrees(), test_props_performance::test_get_and_the_accessor_share_one_entry(), test_request_id_is_on_the_wire(), test_layerx_export::test_saved_runs_export_every_series_column_and_round_trip(), test_props_performance::test_the_hot_path_meets_the_phase_budget(), and xfer().
|
static |
Definition at line 19 of file test_rtd_board.cpp.
| double kR0 = 1000.0 |
Definition at line 27 of file test_rtd_board.cpp.
|
constexpr |
Definition at line 27 of file test_rtd_board.cpp.
| double kUa = 1000.0 |
Definition at line 27 of file test_rtd_board.cpp.