-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCheatSheet
52 lines (32 loc) · 1.12 KB
/
CheatSheet
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
#To read a record:
dbpf recordname.PROC 1
#eg:
dbpf BEAST:DAQ:HE3:DIGI:CONTROL.PROC 1
dbpf histoData.PROC 1
#To change a variable:
dbpf BEAST:DAQ:HE3:DIGI:CONTROL.A 1
#sets BEAST:DAQ:HE3:DIGI:CONTROL's A variable to 1.
#So, to run the program, (after making)
#run
./bin/linux-x86_64/he3DAQ iocBoot/energyioc/st.cmd
#At epics command line run:
dbpf BEAST:DAQ:HE3:DIGI:CONTROL.PROC 1
#or
dbpf BEAST:DAQ:HE3:DIGI:CONTROL.A 1
#The program is now generating data every 5 seconds. The will be added to the histoData record. to view it, run
dbpf histoData.PROC 1
#To stop generating data, set BEAST:DAQ:HE3:DIGI:CONTROL.A to 2:
dbpf BEAST:DAQ:HE3:DIGI:CONTROL.A 2
#To restart data generation:
dbpf BEAST:DAQ:HE3:DIGI:CONTROL.A 1
#to reset the data array, set BEAST:DAQ:HE3:DIGI:CONTROL.A to 3:
dbpf BEAST:DAQ:HE3:DIGI:CONTROL.A 3
#note that if the data generation has been stopped, the data array will not be reset until it is restarted, but if data generation is running when the reset is sent, the data is reset immediately.
Commands:
0 initialize
1 start daq
2 clear histos
3 update (write) histos
4 pause daq
5 resume daq
6 end daq