You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/databases.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ The control database is used to propagate commands from the dispatcher to the re
122
122
"user" : "web",
123
123
"host" : ["fdaq00_reader_0"],
124
124
"acknowledged" : {
125
-
"fdaq00_reader_0" : 1601469970934
125
+
"fdaq00_reader_0" : 0
126
126
},
127
127
"command" : "arm",
128
128
"createdAt": <date object>
@@ -135,7 +135,7 @@ The control database is used to propagate commands from the dispatcher to the re
135
135
|mode |Options file to use for this run. Corresponds to the 'name' field of the options doc. |
136
136
|user |Who started the run? Corresponds to the last person to change the detector_status doc during normal operation. Exceptional stop commands can be automatically issued by various subsystems as well in case of errors.
137
137
|host |List of all hosts to which this command is directed. Readers and crate controllers will only process commands addressed to them. |
138
-
|acknowledged |Before attempting to process a command all reader and crate controller processes will first acknowledge the command as received. This does not indicate that processing the command was successful! It just indicates the thing tried. The dispatcher has to watch for the appropriate state change of the slave nodes in order to determine if the command achieved its goal. This is a dictionary, with values set to the timestamp (in ms) of when the acknowledgement happened. |
138
+
|acknowledged |Before attempting to process a command all reader and crate controller processes will first acknowledge the command as received. This does not indicate that processing the command was successful! It just indicates the thing tried. The dispatcher has to watch for the appropriate state change of the slave nodes in order to determine if the command achieved its goal. This is a dictionary, with values set to the timestamp of when the acknowledgement happened. This dictionary must be populated with 0s before insertion. |
139
139
|command |This is the actual command. 'arm' gets the DAQ ready to start. 'start' and 'stop' do what they say on the tin. 'stop' can also be used as a general reset command for a given instance. |
0 commit comments