STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
fsw::config::FlowConfig Struct Reference

[flow] — the characterization hold: open a valve for an exact interval, then close it. More...

#include <Config.hpp>

Collaboration diagram for fsw::config::FlowConfig:
[legend]

Public Attributes

std::string return_target
uint32_t duration_ms = 0
uint32_t max_ms = 0
std::string gate_actuator
 The actuator the hold is timed around — the one whose opening actually starts the flow.

Detailed Description

[flow] — the characterization hold: open a valve for an exact interval, then close it.

Mirrors [fire], with one deliberate difference. [fire] names its state by string, which is the coupling that let a rename strand the rig mid-burn; [flow] never does. WHICH state this is comes from the is_flow flag on a [[states]] entry, so the operator can rename it, delete it, or move the flag to another state without touching anything here.

Definition at line 133 of file Config.hpp.

Member Data Documentation

◆ duration_ms

uint32_t fsw::config::FlowConfig::duration_ms = 0

◆ gate_actuator

std::string fsw::config::FlowConfig::gate_actuator

The actuator the hold is timed around — the one whose opening actually starts the flow.

A staggered state does not open everything at once: a pressure-regulated feed may crack an upstream valve first and only then the main, using the per-actuator delays in state_machine_actuator_delays.csv. The requested duration is what the operator wants THIS valve open for, so the sequencer holds for (its delay + the requested duration). Empty means no stagger and the hold is measured from the transition.

Definition at line 146 of file Config.hpp.

Referenced by fsw::config::anonymous_namespace{Config.cpp}::from_table().

◆ max_ms

uint32_t fsw::config::FlowConfig::max_ms = 0

◆ return_target

std::string fsw::config::FlowConfig::return_target

The documentation for this struct was generated from the following file:
  • daq-server/diablo_server/lib/include/config/Config.hpp