forked from sPHENIX-Collaboration/rcdaq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rcdaq_rpc.x
60 lines (45 loc) · 837 Bytes
/
rcdaq_rpc.x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
const STATUSFORMAT_SHORT = 0;
const STATUSFORMAT_NORMAL = 1;
const STATUSFORMAT_LONG = 2;
const STATUSFORMAT_VLONG = 3;
struct shortResult {
string str<>;
int content;
int what;
int status;
};
struct actionblock {
int action;
int ipar[16];
float value;
int spare;
string spar<>;
string spar2<>;
};
const NSTRINGPAR = 14;
struct deviceblock {
int npar;
string argv0<>;
string argv1<>;
string argv2<>;
string argv3<>;
string argv4<>;
string argv5<>;
string argv6<>;
string argv7<>;
string argv8<>;
string argv9<>;
string argv10<>;
string argv11<>;
string argv12<>;
string argv13<>;
};
program RCDAQ
{
version RCDAQ_VERS
{
shortResult r_action(actionblock) = 1;
shortResult r_create_device(deviceblock) = 2;
shortResult r_shutdown() = 3;
} = 1;
} = 0x3feeeffc;