Version 4.1 by sendels on 2019-05-15 12:26

Show last authors
1 \\
2
3 * General Concept
4 * Taking User data: Starting and stopping runs (Users)
5 ** DAQ control panel
6 ** Checklist for proper saving of the data
7 ** More infos on the tools to check the proper saving of the data
8 ** How to get the data out for analysis (short summary)
9 * Setting up the DAQ - DAQ Run Control GUI (local contacts, FLASH stuff)
10 ** Configuring the DAQ
11 ** Configuring the DAQ monitor
12 ** Start and Stop a run
13 ** Load/Save the configuration
14 ** Assigning the DAQ to the beamline in jddd
15 ** Setting the logbook to print in / putting the Whitelist name in jddd
16 * In case something goes wrong: Troubleshooting
17 ** No START or STOP buttons are visible in the DAQ control panel
18 ** The DAQ does not start a run
19 ** Data seems not properly saved
20 ** Restarting the DAQ
21 ** what else ???
22 ** Re-read the data base
23
24 \\
25
26 == General Concept ==
27
28 A large number of parameters which are essential for ALL Experiments is continuously saved (pulse energy, arrival time, Beamline settings ...) in the [[ PHOTONDIAGNOSTIC FLASH DAQ>>doc:FLASHUSER.PBD DAQ]] system.
29 Other [[experiment related information>>doc:FLASHUSER.Description of the Properties in the FLASH1_USER1, 2 and 3 for FLASH1 Users]] is ONLY saved by the users ON DEMAND in the FLASH DAQ system. To record this type of data we have 3 User DAQs at FLASH1 (FLASH1_USER1,FLASH1_USER2 and FLASH1_USER3) and one at FLASH 2 (FLASH2_USER1)
30 How to save this experiment related "User-Data" will be explained briefly in this page:
31
32 \\
33
34 == Taking User data: Starting and stopping runs (Users) ==
35
36 In order to save the experiment related data from ADCs, Images, delayline detectors etc. the User DAQ has to be started to record the experiment data. The options which data can be saved, have to be discussed way before the beamtime. For regular beamtime operation the DAQ also was setup by experts before the beamtime. If things do not look like described here look in the troubleshooting section below.
37
38 \\
39
40 === DAQ control panel ===
41
42 To get to the User DAQ control one has to go to {{code language="none"}}Experiment control{{/code}} -> {{code language="none"}}User DAQ tab{{/code}} -> {{code language="none"}}FLxUSERy DAQ CTRL{{/code}}
43 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/jddd_DAQ-control-manual-how_to_get.png||alt="jddd_DAQ-control-manual-how_to_get.png" width="500" height="360"]]
44 \\The following window opens. Here the User DAQ can be started and stopped as well as the incoming data can be visualized, information about data rates and saved properties is presented as well as the panel is automatically printed in to the logbook:
45
46 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/jddd_DAQ-control-manual2.png||alt="jddd_DAQ-control-manual2.png" width="960" height="720"]]
47 \\\\
48
49 \\
50
51 * By pressing the start and stop button, besides sending the commands to the DAQ the button prints the panel to the respective beamline / experiments logbook. Here you can later on keep track of the runs. Links to the Beamline logbooks can be found [[here>>doc:FLASHUSER.Electronic Logbooks]] (DESY internal link)
52 * After starting, the stop button appears only after saving abut 200 shots to prevent too early stopping which may disturb the DAQ.
53 * Each run has a unique run number. This number is needed to retrieve the data later on. So it is important to keep track which number is associated to what experimental parameters. Note that the run numbers are used by all FLASH DAQs (currently about 10). It might thus well be, that two consecutive runs from you do have run numbers which are spaced by more than one if another DAQ has been started in-between ...
54
55 \\
56
57 === Checklist for proper saving of the data ===
58
59 * Check that some 20 seconds after starting a run the DAQ control shows that the internal checks did not show errors -> the **DAQ traffic light is green** (... still there may be undetected problems !!!)
60 * The **number of shots** has to count up with 10 Hz
61 * The **data rate** has to be the same as for the other runs with the same settings (one may click on the number to open a window with the history of the data rate to compare)
62 * The **file size** of the file in which the data is written has to increase with the same speed as for the other runs with the same settings
63 * check the data shown in the **DAQ monitor**.
64 ** are all required channels shown ?
65 ** is the range set correctly ?
66 ** does the ADC trace, image ... look as expected ?
67 ** are the images, ADC traces ... **UPDATING** ? (depending on the setting typically the display update is about 1 Hz)
68 * Are the selected channels checked with the **offline monitor** (lower part of the DAQ control) saved with ~~ 100 % for fast - 10 Hz- properties (and about 10-20 % for slow values saved only ~~1 per second)
69 * Is the time shown in the offline monitor the actual time? (Otherwise it did not read the current files and shows old data !)
70 * **And finally the //ultimate// check is using the DAQ Data GUI to look at the saved data - this should be done once in a while to be sure that the data is saved correctly**
71
72 If not all points of the list are o.k. there may be some problem with the writing of the data. Look to the troubleshooting section and / or talk to beamline stuff.
73
74 \\
75
76 === More infos on the tools to check the proper saving of the data ===
77
78 \\
79
80 ==== DAQ monitor ====
81
82 The DAQ monitor shows a predefined selection of parameters as they are received in the DAQ //before// writing to a file. Here one can check if the desired data //arrives// in the DAQ and if the ranges are set correctly (e.g. sufficient acquisition time). The parameters to look at are defined before the beamtime with the local contact / DAQ group (details see below)
83
84 \\
85
86 ==== Offline DAQ monitor ====
87
88 This tool looks if a predefined selection of parameters is saved in the raw file. When a raw.-file reached its maximum size ( ~~ 1 GB) it is closed and a new file is opened. Once closed, the Offline DAQ monitor reads the file and checks if there are entris for the selected parameters. It shows the fraction of events containing data. For “fast” data (data written with 10 Hz and bunch ID synchronous like images, ADC traces) this should be close to 100%. For “slow” data (saved about every second e.g. pressures , temperatures...) this is about 10-20%. **However it is to note** that this program just check if there is **anything** saved. It does not check if it is the proper data.
89
90 \\
91
92 ==== DAQ Data GUI ====
93
94 To ultimately check if the correct data is saved one can use the DAQ data GUI to look at the saved raw. files.
95
96 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/DAQgui1.jpg||alt="DAQgui1.jpg" width="500" height="350"]][[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/DAQgui2.jpg||alt="DAQgui2.jpg" width="500" height="350"]][[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/daqgui3.png||alt="daqgui3.png" width="500" height="350"]]
97 \\
98
99 The DAQ Data GUI is a general tool to select and visualise data that was saved in the DAQ . It has in addition simple analysis options like histogram, mean, min or max values as function of time etc. Also correlations between different parameters can be analyzed in the tool. More details can be found [[How to Use the FLASH DAQ Data GUI?~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://ttfinfo.desy.de/FLASHWiki/Wiki.jsp?page=FLASHDAQdataGUI||shape="rect"]] and [[here (DAQdataGUI link collection)>>url:http://hasfweb.desy.de/bin/view/Setup/DAQRootGui#How_to_Use_the_FLASH_DAQ_Data_GU||shape="rect" class="twikiAnchorLink"]]
100
101 The tool (separate Java program) can be started [[DAQdataGUI~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:http://ttfinfo2.desy.de/common/applications/DAQdataGUI-experimental.jnlp||shape="rect"]] or in the DAQ control panel ( lower right) on your local (Desy) PC. In some cases the access via Windows does not work. An option which should always work is to log onto {{code language="none"}}flashlxuser1{{/code}} or {{code language="none"}}flashlxuser2{{/code}} and start {{code language="none"}}DAQdataGUI{{/code}} from the command line.
102
103
104 \\To access the desired data one has to:
105
106 * enter the {{code language="none"}}run number{{/code}} of the run you want to look at at //Run//
107 * select your DAQ in the //Experiment// drop down menu: {{code language="none"}}FLASHy_USERx{{/code}}
108 * press {{code language="none"}}get Channels/Files{{/code}}
109 * browse through the data tree and select your important parameters and drag them with the mouse in the {{code language="none"}}selected{{/code}} window. The list of important parameters should have been defined before the experiment with the FLASH stuff together. This list can also be found in the offline monitor (lower part of DAQ control) )
110 * press {{code language="none"}}Start Display{{/code}} to open a new window with your data. In case it was a long run and / or a large amount of data per shot one can limit the number of shown events to a fraction: {{code language="none"}}Events -> Reading Options -> Event Interval{{/code}} provides the option to show only every //n// th dataset.
111
112 \\
113
114 === How to get the data out for analysis (short summary) ===
115
116 The (% class="twikiNewLink" %)[[DAQdataGui>>url:http://hasfweb.desy.de/bin/edit/Setup/DAQdataGui?topicparent=Setup.DAQjddd;nowysiwyg=0||rel="nofollow" shape="rect"]](%%) is a powerful tool to visualize the saved data and to do very preliminary analysis. however for more detailed analysis the data has to be read into analysis programs ( matlab, python, Origin ...) here are different options one can use (what option is the best and how to set it up has to be discussed before hand with the FLASH DAQ experts ...)
117
118 * The FLASH DAQ system records the data in binary " {{code language="none"}}.raw{{/code}} " files.
119 ** [[reading the data via Matlab >>url:http://hasfweb.desy.de/bin/view/Setup/DAQMatlabAccessExamples||shape="rect" class="twikiLink"]]works not for all data types equally well and needs precise knowledge of the desired Parameters (useful to have a quick look / preliminary analysis on few parameters).
120 ** Examples how to read from {{code language="none"}}.raw{{/code}} files can also be found in [[the user code collection>>url:http://hasfweb.desy.de/bin/view/Setup/UserCodeCollection||shape="rect" class="twikiLink"]]
121 ** Note that the raw data is only accessible from certain computers within the DESY network and thus not very handy for offline analysis later on ...
122
123 \\
124
125 * To ease the data analysis we IN ADDITION provide //ON REQUEST// the data from the FLASH DAQ as HDF5 format
126 ** ONLINE HDF5s: To make efficient use of the HDF5 files for analysis during the beamtime and afterwards we provide a [[very useful tool (Beamtime Daq Access)>>url:http://hasfweb.desy.de/bin/view/Setup/BeamtimeDaqAccess||shape="rect" class="twikiLink"]]. Using this tool (working for Python and Matlab) one can get the data of parameters per run or for specific bunch ID intervals etc. without having to care from which subset of HDF5 files the data is read ...
127 ** Summary HDF5 files include complete runs. They will be put after the beamtime on the gpfs storage and are available from computers within DESY (for registered Beamtime participants) and also access
128 ** Intro to the [[HDF5 structure used at FLASH>>url:http://hasfweb.desy.de/bin/view/Setup/HDF5main||shape="rect" class="twikiLink"]]. This contains also a list of the most used Parameters saved at FLASH for analysis - including the HDF5 names, DOOCS and DAQ names ...
129 ** [[Short examples>>url:http://hasfweb.desy.de/bin/view/Setup/HDF5main#Samples_how_to_read_HDF5_with_Ma||shape="rect" class="twikiAnchorLink"]] and [[user provided examples>>url:http://hasfweb.desy.de/bin/view/Setup/UserCodeCollection||shape="rect" class="twikiLink"]] on how to read HDF5 in Matlab
130
131 The HDF5 files (online and summary) are saved in the [["gpfs" system ~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://confluence.desy.de/display/ASAP3/Architecture||shape="rect"]]. it can be accessed from [[Windows and Linux computers at DESY~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://confluence.desy.de/display/ASAP3/Mounting+the+storage+system+at+the+beamline||shape="rect"]] by the persons ( logins) which are registered for the beamtime in DOOR ( functional accounts
132
133 The path to your data is structured the following way:
134
135 * /asap3/flash/gpfs/ //beamline used// / //year// /data/ //Beamtime application number// /raw/hdf/ (the //Beamtime application number// can be fund in the pdf schedule sent around by Rolf ...)
136 * as example: {{code language="none"}}/asap3/flash/gpfs/bl2/2017/data/11003163/raw/hdf/{{/code}}
137
138 More details and links can be found in the [[Summary of DAQ / control options>>url:http://hasfweb.desy.de/bin/view/Setup/Index||shape="rect" class="twikiLink"]].
139
140 \\
141
142 \\
143
144 \\
145
146 == Setting up the DAQ - DAQ Run Control GUI (local contacts, FLASH stuff) ==
147
148 This section is intended for the local contacts / FLASH staff to set up the DAQ according to the needs of users before the beamtime. For troubleshooting this may also be helpful for users ...
149
150 \\
151
152 === Configuring the DAQ ===
153
154
155 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/RCGUI_2.jpg||alt="RCGUI_2.jpg" width="400" height="500"]]
156
157 Using the jddd DAQ control panel one can start and stop runs but in order to configure the DAQ which data to save one has to use a a separate *DAQ run control * java application. Since it needs write access to DOOCS internal file systems, which can not be made available elsewhere one has to start the system on our DOOCS control computers [[flashlxuser1.desy.de>>url:http://flashlxuser1.desy.de||shape="rect"]]{{code language="none"}}{{/code}} or [[flashlxuser2.desy.de>>url:http://flashlxuser2.desy.de||shape="rect"]]{{code language="none"}}{{/code}}.
158 Log in with the beamline account (bl1user, bl2user, ..., fl24user...) either via X-Win32 from windows or via ssh from Linux machines.
159 Once logged in to {{code language="none"}}flashlxuser1{{/code}} or {{code language="none"}}flashlxuser2{{/code}} the DAQ run control can be started. Depending on the DAQ you want to use the commands are:
160
161 \\
162
163 (% class="wrapped" %)
164 |(((
165 Unix command
166 )))|(((
167 DAQ
168 )))
169 |(((
170 {{code language="none"}}
171 RCGUIFL1USER1
172 {{/code}}
173 )))|(((
174 FLASH1_USER1 DAQ
175 )))
176 |(((
177 {{code language="none"}}
178 RCGUIFL1USER2
179 {{/code}}
180 )))|(((
181 FLASH1_USER2 DAQ
182 )))
183 |(((
184 {{code language="none"}}
185 RCGUIFL1USER3
186 {{/code}}
187 )))|(((
188 FLASH1_USER3 DAQ
189 )))
190 |(((
191 {{code language="none"}}
192 RCGUIFL2USER1
193 {{/code}}
194 )))|(((
195 FLASH2_USER1 DAQ
196 )))
197
198 Which DAQ to use is decided by the FLASH DAQ team according to the beamtime schedule.
199
200 \\
201
202 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/RCGUI_properties.jpg||alt="RCGUI_properties.jpg" width="503" height="311"]]
203
204 \\
205
206 Using the {{code language="none"}}Add{{/code}} and {{code language="none"}}Rem(ove){{/code}} buttons one can move the desired "subsystems" in the included side - meaning that they are saved. The "subsystems" contain typically several DOOCS parameters. E.g. {{code language="none"}}EXPERIMENT_MHZ_ADC_BL1{{/code}} contains all relevant DOOCS properties of the 4 MHZ ADC channels available at BL1. To get a detailled information about the saved parameters one can have a look to the "Show Properties in Subsystems" button . In addition, a list of all possible subsystems and their description can be found [[here>>url:http://hasfweb.desy.de/bin/view/Setup/DAQExp2Description||shape="rect" class="twikiLink"]].
207
208 \\
209
210 === Configuring the DAQ monitor ===
211
212 The DAQ monitor ( and the Offline monitor) can be confgured using DAQdataGUI.
213 Load a test run containing all relavant propoerties. Select all properties you want to monitor. Use {{code language="none"}}Tools -> Channels to DAQMonitor{{/code}} and choose your DAQ. This sends a list with the selected properties to the DAQ monitor of your system.
214 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/daq_monitor_config.png||alt="daq_monitor_config.png" width="700" height="390"]]
215
216 \\
217
218 \\
219
220 === Start and Stop a run ===
221
222 In order to "activate" and test your configuration you have to start a run with the new configuration. **NOTE: Whenever the configuratio was changed with the RCGUI the new run HAS to be started with the RCGUI **(starting with the jddd DAQ panel would only start the last configuration that has been running before !!!
223
224 \\
225
226 To START a run - meaning starting to save the experiment related data - one has to press the "start" button in the Run Control GUI. This opens a confirmation window asking if you really want to start the run ("in default mode"). Press yes. Now it takes about 20 seconds for the system to start up and start recording data. Indication is the "Run Control: RUN" and "DAQ: RUN" greenish indicators on the upper left side of the run control.
227
228 To STOP a run one has to press the "stop" button. This opens a window for comments. This contains already the actual Experiment name by default. Please leave this information in. Add a comment for your run. This comment will be printed into the logbook and can later on be used to identify individual runs ... note you are required to type in something otherwise the run will not stop.
229
230 The stopping also needs about 20 seconds.*_IT IS IMPORTANT_ not to start and stop the DAQ while it is still ramping up or down. So please wait before restarting the DAQ.*
231
232 After the run use the DAQ data GUI to check if the data intended is saved properly.
233
234 \\
235
236 \\
237
238 \\
239
240 === Load/Save the configuration ===
241
242
243 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/whitelist.jpg||alt="whitelist.jpg" width="532" height="370"]]
244
245 Once a list of subsystems is defined and tested this parameter combination should then be saved in a so-called //white list//. By loading this white list one can then easily configure the DAQ after changes / restarts ... to the initially defined settings to save the correct data.
246 The whitelist can be saved/loaded with the Run Control GUI by: {{code language="none"}}File -> Group White List -> Save/Load{{/code}}. Note, while the top left rectangle's background of time and date is yellow, don't try any further controls of the GUI, you might confuse the program. It is busy reading the configuration from the run control database. The background changes back to grey when it has finished.
247 \\The filename convention for the White Lists are arranged in the way:
248 //DAQ name// - //Date of creation// - //name of the PI / Experiment// - //optional comment on the type of data//
249
250 The whitelists are stored in separate folders for each beamline.
251
252 \\
253
254 \\
255
256 \\
257
258 === Assigning the DAQ to the beamline in jddd ===
259
260 To assign which DAQ is used at what beamline one has to use the dropdown menu in the {{code language="none"}}parameter monitor{{/code}}. In each Beamline overview tab (BL1,2,3) there is a button (upper right) that starts the {{code language="none"}}parameter monitor{{/code}} panel. In the upper middle is a DAQ field in which the appropriate DAQ can be assigned to the Beamline.
261
262 \\
263
264 \\
265
266 \\
267
268 \\
269
270 === Setting the logbook to print in / putting the Whitelist name in jddd ===
271
272 The jddd DAQ Control should be set up that it prints by default the relevant run information in the logbook associated to your beamline [[Logbooks>>url:http://hasfweb.desy.de/bin/view/Setup/ELogs||shape="rect" class="twikiLink"]]
273
274 Define logbook / and whitelist for display in the jddd DAQ control (jddd otherwise does not "know" which White list was used ... this has to be put in by hand ...up to now)
275 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/setting_parameters.jpg||alt="setting_parameters.jpg" width="500" height="300"]]
276
277 \\
278
279 \\
280
281 \\
282
283 \\
284
285 == In case something goes wrong: Troubleshooting ==
286
287 \\
288
289 === No //START// or //STOP// buttons are visible in the DAQ control panel ===
290
291 ~* The jddd GUI only shows the Start and stop bunnon if the DAQ is in the "Idle" state. sometimes the DAQ "just" gets stuck in the stopping phase. Then stopping again or starting form the not "Idle" state can help. For this goto the "Advanced" tab of the jddd DAQ control . there the START and STOP buttons are always available ... independent of the state of the DAQ. If this does not help you may have to restart the DAQ ...
292
293 \\
294
295 === The DAQ does not start a run ===
296
297 \\
298
299 * Mainly the DAQ works fine but one of the properties that should be saved is not available or somehow corrupted. There the {{code language="none"}}RC logfile{{/code}} helps (see below) to determine where to localize the problem. The pragmatic way is to exclude the subsystems which may contain the properties with problems. Thus exclude the "critical" subsystems. Start a run. If this works, include one by one the excluded subsystems and start runs. That way one should find out which subsystem causes the problem. Now one can investigate this one in more detail. Is the property available in DOOCS? Does it update? maybe restart the server providing the property ...
300
301 \\
302
303 \\
304
305 === Data seems not properly saved ===
306
307
308 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/RC_logfile.jpg||alt="RC_logfile.jpg" width="518" height="300"]]When checking the saved run with the (% class="twikiNewLink" %)[[DAQdataGUI>>url:http://hasfweb.desy.de/bin/edit/Setup/DAQdataGUI?topicparent=Setup.DAQjddd;nowysiwyg=0||rel="nofollow" shape="rect"]](%%) it may happen that the property shows up in the data tree but no events are saved. Then (most likely) something is wrong with the sending of the data.
309
310 * A very helpful tool is the {{code language="none"}}RC logfile{{/code}}. in the RCGUI on the lower right side there is a button to start an editor with the log file. besides lots of standard entries there is usually also a hint on where to find the problem ...
311 * check if the device is working properly. Is it connected? Can you see data in jddd / DOOCS ? . If not you have to fix the DOOCS part ... DAQ can only save what is properly implemented in DOOCS.
312 * If camera images are not properly saved ( e.g. only "0"s in the image matrix or the DAQ sender can not be switched to "on") a **restart of the camera server** usually helps.
313 * Sometimes also a restart of the DAQ (see below) helps ... This however is more the case if the DAQ does not start at all or saves no data at all ...
314 * in several cases the reason is a configuration problem of the server. Then 2 servers are sending on the same "address". Then one property usually is saved without loss while the second one is only saved once in a while ( 1-5%). Here the server has to be fixed. As fast cure one can only exclude the less important subsystem and save the more important properly ...
315
316 \\
317
318 \\
319
320 \\
321
322 === Restarting the DAQ ===
323
324 \\
325
326 * If the RCGUI does not respond (and also the clock display does not count up) one has to restart the GUI. Usually the DAQ is not affected by the RCGUI hang up ...
327
328 \\
329
330 * Generally there 3 ways to "restart" the DAQ
331 ** 1. The least interferring way is the "all to INITIALIZE" that tries to reset the DAQ processes ... helps for simple "hickups"
332 ** 2. The "re-start DAQ" really reboots the whole DAQ process. The settings still should be as before ... this is the "Usual" restart
333 ** 3. In very hard and severe cases there is the ultimate restart button: "re-start DAQ (no RCSHM)"
334
335
336 \\*Here in more detail:*
337
338 \\
339
340 * if the DAQ gets stuck in the starting or stopping procedure one can try to initialize the DAQ or in the worst case restart it.
341 ** to be able to restart the DAQ one has to run jddd on the {{code language="none"}}flashlxuser1{{/code}} or {{code language="none"}}flashlxuser2{{/code}} (up to now (Aug 2018) the restat on our consoles (cons0...12) is NOT possible yet [[image:url:http://hasfweb.desy.de/pub/TWiki/SmiliesPlugin/frown.gif||alt="frown"]]) : log in at one of these machines with your beamline account (e.g. bl1user or fl24user). Start jddd with the {{code language="none"}}jFLASH{{/code}} command. Click on "Photons" -> Experimental Hall "Photons main panel"
342 ** The DAQ "expert" panel can be reached from the User DAQ control panel.
343 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/DAQ_expert.jpg||alt="DAQ_expert.jpg" width="400" height="350"]]
344
345 \\
346
347 \\
348
349 *
350 ** Then you see the following "DAQ expert panel":
351 ** first one may try the "all to INITIALIZE" button. it starts a script window and asks for the passwd (the beamline accounts (blxuser) should have the according rights. vuvfuser has it for sure. The script sets all subcomponents to initialize. It is helpful if one subcomponent got stuck.
352
353
354 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/UserDAQ_status.jpg||alt="UserDAQ_status.jpg" width="500" height="400"]]
355
356 \\
357
358 * If this does not help you have to "re-start DAQ". This completely restarts all processes and takes a while. A script window appears and shows what steps are actually done. At the end is sais: "Cleanup finished".
359 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/DAQ_restart_msg.jpg||alt="DAQ_restart_msg.jpg" width="400" height="350"]]
360
361 \\
362
363 * For the "re-start DAQ" the DAQ should come up in the same state as before. Meaning that the subsystems (ADCs, cameras ..) are still loaded and displayed. If this is not the case you can try to load your white list and start a new run. If the data is saved correctly you are done.
364
365 \\
366
367 * **IF the DAQ still does not work properly** the final option is the: "re-start DAQ (no RCSHM)". This button does the same as the "re-start DAQ" but the Run Controller shared memory is **not** re-stored. It means that after the DAQ is back no run configuration is selected.
368 ** in the jddd control the list of subsystems sais "empty"
369 ** in the RCGUI in the lower part it sais "RUN mode is not set"
370 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/restart_RCM_no_runmode.jpg||alt="restart_RCM_no_runmode.jpg" width="400" height="400"]]
371
372 \\
373
374 *
375 ** one has to go to the "Run Modes" tab and select the run mode {{code language="none"}}FLASH1_EXP{{/code}} by clicking on it !
376 [[image:url:http://hasfweb.desy.de/pub/Setup/DAQjddd/runmode_set.jpg||alt="runmode_set.jpg" width="400" height="400"]]
377 ** then one has to go back to the {{code language="none"}}Subsystems{{/code}} . now all subsystems are included.
378 ** finally you have to select your White list and start a run ...
379
380 \\
381
382 \\
383
384 * If there are still components not working after the "re-start DAQ (no RCSHM)" you have to call the photon coordinator (4455) and pray ...
385
386 \\
387
388 === what else ??? ===
389
390 \\
391
392 \\
393
394 ----
395
396 [[Some more details for experts ...>>url:http://hasfweb.desy.de/bin/view/Setup/DaqDetails||shape="rect" class="twikiLink"]]
397
398 \\
399
400 === Re-read the data base ===
401
402 On flashlxuser1 or 2 start RCGUIFL1USER1 or appropriate to the DAQ you want to reconfigure. Select the tab "Run Modes". To then reload or re-init the run control database you need the expert menu entry:
403
404 {{code language="none"}}Options -> "Show Expert Menu"{{/code}}
405
406 Then you go to {{code language="none"}}"Expert" -> "Run Control Commands" -> "Remove SHM"{{/code}} (occasionally twice).
407
408 After you see a message in the RCGUI messages window that the SHM was removed you do:
409
410 {{code language="none"}}"expert" -> "Run Control Commands" -> "Re-init SHM"{{/code}}
411
412 Now close the RCGUI and start it again. Switch to the tab "subsystems", wait for the subsystems to be reloaded and load the whitelist you want to use.