Data Acquisition at TUDA
What to do when things go wrong
(Don’t panic)
V.F.E.Pucknell
July 2003
The data acquisition system will continue to do whatever it is doing (ie collection of data and writing to tape) unless commanded to change state from the Midas GUI. Termination of a tuda-session or logout from the Sun will not change the state of the data acquisition system. (Except see section 1 of the User’s Guide about the effect of logout from tuda0)
If the data acquisition system is setup and running when you start tuda-session the session startup will contact the data acquisition servers and restore your experimental configuration.
However it is probably a good idea to check that the VME configuration has been restored correctly. All you have to do once the session is running is from the Base Frame select VME and then Control. When the VME Configuration & Control Frame starts check that the window shows your hardware configuration (i.e. that it is not empty). To restore a hardware configuration click on the button Save/Restore Configuration and select the file to restore from (normally this is the file named latest).
Login and follow the instructions in the User’s Guide to restart the Tape Server. Since the Tape Server has been restarted you may have to remove any tapes in use and insert new ones. You cannot add further data to the tapes if data files on the tapes where being written when the workstation was restarted. If the Tape Server state was STOPPED then you should be able to append further data to the tapes.
Then start a megha-session. STOP data acquisition. Load any tapes required. You are now ready to GO data acquisition.
[NOTE – If you logout of tuda0 any running Tape Server you started will be deleted. On login you should restart these as described in Section 1 of the User’s Guide]
Get back to the login prompt. Select remote login to tuda0 and continue as normal. If you had been running a tuda-session just restart as in (1).
The Tape Server
runs in a terminal window in tuda0. It can be restarted by killing the running
program (Ctrl+C) and then restarting. See Section 1 of the User’s Guide for
details.
The Tape Server
is in fact a number of tasks (typically 6). In most cases killing the master
task using Ctrl+C will cause all Tape Server tasks to end. However if the fault
causing you to kill the server is
related to a tape drive problem this may not happen. You will find that the
restart does not work correctly in
which case the quickest solution is to reboot the workstartion.
[NOTE – If
you logout of tuda0 any running Tape Server you started will be deleted. On
login you should restart it as described in Section 1 of the User’s Guide]
From the Experiment Control window click on Setup Registers and then Redisplay. Make sure that the options are as you want them (look in particular at the Enabled checkboxes) and then click on the big yellow SETUP button. When this has finished you are ready to GO again.
Normally the Histogramming Enabled button should be checked and the Histogram option All selected. See the User’s Guide for details.
Always STOP data acquisition if at all
possible.
If you power cycle the VME crate containing the
vme processor then proceed as for (5).
Otherwise as long as you STOPped data acquisition first SETUP and
GO.