This shows you the differences between two versions of the page.
— |
daq_run_control_protocol [2013/12/12 12:13] (current) pereira created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DAQ run protocol====== | ||
+ | This page provides documentation of the run control protocol adopted between data acquisition systems running in parallel on different devices. The intent is to define server/ | ||
+ | |||
+ | |||
+ | ===== Master/ | ||
+ | The architecture is such that there is only one master and a number of slaves that are controlled by the master' | ||
+ | |||
+ | ===== Commands and acknowledgments ===== | ||
+ | The list of commands that are accepted by the slave servers is listed below together with the actions and responses they trigger. | ||
+ | |||
+ | ^Command^Action^OK message^FAIL message| | ||
+ | | begin | Start data acquisition | none | not in slave mode | | ||
+ | | end | End data acquisition | none | not in slave mode | | ||
+ | | set run n | Set run number to n | none | not in slave mode | | ||
+ | | set title "some title string" | ||
+ | | set recording 1 or 0 | Set recording of data to disk | none | not in slave mode | | ||
+ | | set destination / | ||
+ | | set slave 1 or 0 | Set the system in slave or master mode | none | run is active | | ||
+ | | get state | Get state of data acquisition | active or inactive | none | | ||
+ | | any other command | | | unrecognized command: " | ||