DOMs real time monitoring
How does it work?
A JAVA program on the String Processor reads the .mon files produced by TestDAQ. It looks for the newest files (compatible with an acquisition running "approximately now") and roams thru it to find monitoring informations. It verifies every 10 seconds if the file has been modified or if there is a new file. If the file has ben modifies it looks for new monitoring informations. Else it waits 10 s more. These data are stored in a buffer waiting to be sent to a Labview GUI. The program waits for a connection of a distant GUI client and when connected sends the data present in the buffer every minute.
GUI layout
The main page of the GUI is like this:

The net on the right represents IceCube's strings. The color of the dot gives the current status of the string (green: OK, orange ok but something went wrong, red: BAD). By clicking on a certain string, it appears on the left part with the same color code and the current values of its DOM are displayed in the central tab. The selected line is then surrounded by a black circle.
Then by clicking on a certain DOM one obtain a window with more information:

You can see here chronological informations about the HV values, rates, temperature and pressure as well as statistics about HV and rates. You just have to click on STOP button to close window and go back to main display. Currently the Labview program stores 2 hours of monitoring informations with a one minute time bin.
How to use it?
To run it you just need to put a java program on the String processor and an open port in order to enable TCP/IP communivtion between the JAVA program and the Labview GUI. After the TestDAQ has been launched start with:
%java -cp hvmonitor2.jar hvMonitor71 &
The program will then monitor and wait for a client to connect. Then on a remote computer where Labview is installed type:
%labview Data\ Client5.7.1.vi &
If necessary change the IP adress of the String processor in the field located on the Bottom right part of the window. Then you just have to run it by clicking on the white arrow on the top left. You can then choose a string (for the moment there's only one active situated on the left of the 5th line from the top). You can also select a single DOM on the sting on the left to see its status, intantaneous values and so on (see fist part of the page). The actual version enable to visualize only the data from one string processor but could be easily extended to a bunch of them as soon as TCP/IP communication on port between java programs is enabled.
Web Access
The monitoring GUI can be reached through the web. What you need is the Labview run-time engine for Labview 7. It is free, your browser should redirect you to the National Instruments web site to download it, you just have to register as a user to get an account. The version for linux is here. To see an interactive example go to this monitoring page. Once there just right clic on the "tcp" icon on the upper right of the GUI and choose "request vi control". Then if you read the "How to use it" section you should be able to play. Since this particular DOMHub is not taking data all the time you have chances to see an all red status and no real graphs for DOMs, but it still shows the basic behaviour. This web publishing tool would be straight forward to implement within the portlet framework intended for the IceCube remote web based access since you just need a computer at pole with labview which provide a webserver with the appropiate webpage.
Downloads
Labview tarball (goes to wherever Labview is installed)
JAVA jar file (goes to string processor) (adapted to the 8 Madison DOMS)
additional RPMs
simple JAVA test program(goes to string processor)
|