STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
T7Stream.cpp File Reference
#include "t7/T7Stream.hpp"
#include <algorithm>
#include <chrono>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <limits>
#include <sstream>
#include <thread>
#include "t7/T7Convert.hpp"
Include dependency graph for T7Stream.cpp:

Go to the source code of this file.

Namespaces

namespace  fsw
 Motorized ball valve position: raw ADC counts -> % open.
namespace  fsw::t7

Functions

bool fsw::t7::is_stream_not_running (int code)
 True for every way a stop can answer "there was no stream to stop".
std::array< uint8_t, 2 > fsw::t7::table_id (uint8_t slot, uint8_t ain)
 Table id for one AIN: {0x26, (slot-1)*0x20 + ain}, the same layout as the ESP32 boards.
std::string fsw::t7::entity_name (uint8_t slot, uint8_t ain)
 Elodin entity name for one AIN, e.g.
std::array< uint8_t, 2 > fsw::t7::calibrated_table_id (uint8_t slot, uint8_t ain)
 Calibrated table for one AIN: table_id + 0x10, e.g.
std::string fsw::t7::calibrated_entity_name (uint8_t slot, uint8_t ain)
 Calibrated entity name, e.g.
StreamPlan fsw::t7::plan_stream (const config::T7Board &board)