Definition at line 1184 of file feedback.cc.
References Calibrate(), HandleBiasCurrent(), HandleBiasDac(), HandleBiasNom(), HandleBiasStateChange(), HandleBiasVoltage(), HandleCameraTemp(), Feedback::State::kCalibrated, Feedback::State::kCalibrating, Feedback::State::kConnected, Feedback::State::kConnecting, Feedback::State::kCritical, Feedback::State::kDimNetworkNA, Feedback::State::kDisconnected, Feedback::State::kInProgress, Feedback::State::kOnStandby, Feedback::State::kWaitingForData, Feedback::State::kWarning, LoadCalibration(), LoadOffset(), Print(), PrintCalibration(), ResetOffset(), SaveCalibration(), DimState::SetCallback(), SetMoonMode(), SetVerbosity(), Start(), StopFeedback(), DimState::Subscribe(), and DimDescribedState::Subscribe().
1192 "|Avg[uA]:Average offset at dac=256+5*512" 1193 "|Rms[uA]:Rms of Avg" 1194 "|R[Ohm]:Measured calibration resistor" 1195 "|U[V]:Corresponding voltage reported by biasctrl"),
1197 "Calibration of the R8 resistor" 1198 "|DAC[dac]:DAC setting" 1199 "|U[V]:Corresponding voltages reported by biasctrl" 1200 "|Iavg[uA]:Averaged measured current" 1201 "|Irms[uA]:Rms measured current"),
1204 "|DeltaI[uA]:Average offset" 1205 "|R8[Ohm]:Measured effective resistor R8"),
1206 fDimCurrents(
"FEEDBACK/CALIBRATED_CURRENTS",
"F:416;F:1;F:1;F:1;F:1;I:1;F:1;F:416;F:1;F:1",
1207 "Calibrated currents" 1208 "|I[uA]:Calibrated currents per pixel" 1209 "|I_avg[uA]:Average calibrated current (N channels)" 1210 "|I_rms[uA]:Rms of calibrated current (N channels)" 1211 "|I_med[uA]:Median calibrated current (N channels)" 1212 "|I_dev[uA]:Deviation of calibrated current (N channels)" 1213 "|N[uint16]:Number of valid values" 1214 "|T_diff[s]:Time difference to calibration" 1215 "|U_ov[V]:Calculated overvoltage w.r.t. operation voltage" 1216 "|U_nom[V]:Nominal overvoltage w.r.t. operation voltage" 1217 "|dU_temp[V]:Correction calculated from temperature" 1220 "Offsets operation voltages" 1221 "|U[V]:Offset per bias channels"),
1247 "The Dim DNS is not reachable.");
1250 "The Dim DNS is reachable, but the required subsystems are not available.");
1252 "Either biasctrl or fscctrl not connected.");
1254 "biasctrl and fscctrl are available and connected with their hardware.");
1257 "Bias crate calibrating in progress.");
1259 "Bias crate calibrated.");
1262 "Current control started, waiting for valid temperature and current data.");
1265 "Current control in progress but with limited voltage.");
1267 "Current control in progress.");
1269 "Current control in progress but current warning level exceeded.");
1271 "Current control in progress but critical current limit exceeded.");
1286 (
"Start the current/temperature control loop" 1287 "|Uov[V]:Overvoltage to be applied (standard value is 1.1V)");
1291 (
"Stop any control loop");
1310 (
"Operate central pixels at 5V below nominal voltage. 0:off, 1:minimal, 2:medium, 3:maximum size.");
1323 (
"set verbosity state" 1324 "|verbosity[bool]:disable or enable verbosity when calculating overvoltage");
DimDescribedService fDimOffsets
DimDescribedState fDimBias
EventImp & AddEvent(const std::string &name, const std::string &states, const std::string &fmt)
virtual void Subscribe(StateMachineImp &imp)
DimDescribedState fDimFSC
DimDescribedService fDimCalibration2
DimDescribedService fDimCalibration
StateMachineDim(std::ostream &out=std::cout, const std::string &name="DEFAULT")
int HandleBiasDac(const EventImp &evt)
uint16_t fCurrentRequestInterval
uint16_t fNumCalibRequests
int HandleBiasStateChange()
int HandleCameraTemp(const EventImp &evt)
int HandleBiasVoltage(const EventImp &evt)
DimDescribedService fDimCurrents
int Start(const EventImp &evt)
vector< double > fVoltOffset
int LoadOffset(const EventImp &evt)
virtual void Subscribe(StateMachineImp &imp)
EventImp & Subscribe(const std::string &name)
int SetMoonMode(const EventImp &evt)
int HandleBiasCurrent(const EventImp &evt)
int HandleBiasNom(const EventImp &evt)
bool AddStateName(const int state, const std::string &name, const std::string &doc="")
DimDescribedService fDimCalibrationR8
int SetVerbosity(const EventImp &evt)
void SetCallback(const callback &cb)