The instruction how to get the DCS info in the online database.
This tool is not so user-friendly, but allows you to access any
entries in the DCS database.
- You have to work on lxplus.
- Copy Saverio's perl script into your working directory.
> cp ~dauria/public/dcsDBaccess.pl [your director]/.
Saverio sometimes updates his script. Also there are some
variety in the scripts. You might want to try something
similar to dcsDBaccess.pl.
- To access the popular or basic variables, such as
bias voltage/current, module temperature and so on, his
script provides easy way to access them. Do
> ./dcsDBaccess.pl -h
for the usage or help.
- This is an example to get module temperature measured on
the hybrid.
> ./dcsDBaccess.pl plot 84 00 MOch_Tm0 11-06-2007 09:00
11-06-2007 14:00
You will get a text file named "query_result.txt" in which the module
temperature recorded in the database is dumped.
The caveat here is that the first and second arguments are the slot
and channel of the corresponding HV/LV modules. They are specified
in hardware location. The mapping between the hardware location and
offline Identifier can be found
here.
- If you want to look at the parameters which are not listed in
Saverio's perl script as an alias, you have to go through this list
to identify the parameter you want to take a look. Then you can do
something like:
> ./dcsDBaccess.pl plot 00 00 ATLSCTUSAENV:ELMB/Envr_CANbus_0/Envr_ELMB_D/AI/ELMB_Channel_17.value 09-03-2008 22:00 09-03-2008 23:00 datapoint gnuplot
The second and third argument must be always "00". The fourth
argument is the parameter you want to check.
The list of parameters is available
here.
As of writing of this instruction, there are not complete list
or document describing the parameter names. Please ask me, or
Saverio and Andree would be the best person to ask.
Last modified: Wed Jul 9 12:04:25 JST 2008