Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

-----------------------
1. Program description:

This is a program for monitoring the fieldpoint temperature sensor (National Instruments FP RTD-122) in the F9 photon detectors laboratory. As an output, it produces a formatted text output and an optional ROOT plot. Note that this program will only work on computers connected to the IJS network (IP = 178.172.43.*).

-----------------------------
2. Installation instructions:

Make sure environmental variables for ROOT are set and that there is an installation of ROOT with MySQL support on the running computer (./configure --enable-mysql).

Installation is done by using
> make

Run the program with
> ./start.sh

Clean the installation by using
> make clean

---------------
3. Program use:

Program use is straight-forward: 
- Fieldpoint channel selects the channel we wish to get temperature from.
- Start and end time determine the data range to be retrieved from the MySQL database.
- Draw to last time point selects the data range between start time and the most current point in the database.
- Output data settings determine what kind of format should be used for timestamps in the text output (local time, UNIX timestamp).
- Update button updates the plot, Export button exports the plot (saved in folder ./fieldpoint) and Close button closes the application.
- At any change in start or end times and updating the plot, the text output (saved in folder ./fieldpoint) is also updated.

-------------------------------
4. Time difference - Important!

Data saved in the MySQL database have a time shift to the current local time. To fix this time shift use the ./time_offset script (password needed to connect to f9lab04), followed by the installation instructions above (make). The timing of old datapoints can still be wrong!