gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
commands.h
1#ifndef COMMANDS_H_INCLUDED
2#define COMMANDS_H_INCLUDED
3
4enum class TofCommandCode {
5 // power class - 1
6 PowerOn = 11,
7 PowerOff = 10,
8 PowerCycle = 12,
9 // setup class - 2
10 RBSetup = 20,
11 SetThresholds = 21,
12 SetMtConfig = 22,
13 // run class - 3
14 StartValidationRun = 32,
15 DataRunStart = 31,
16 DataRunEnd = 30,
17 // request class -4
18 RequestWaveforms = 41,
19 RequestEvent = 42,
20 RequestMoni = 43,
21 UnspoolEventCache = 44,
22 StreamAnyEvent = 45,
23 // calibration class 5
24 VoltageCalibration = 51,
25 TimingCalibration = 52,
26 CreateCalibrationFile = 53,
27 Unknown
28};
29
30enum class TofResponse {
31 Success = 1,
32 GeneralFailure = 2,
33 EventNotReady = 3,
34 SerializationIssue = 4,
35 Unknown
36};
37
38#endif