Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
130 | f9daq | 1 | ----------------------- |
2 | 1. Program description: |
||
3 | |||
4 | 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.*). |
||
5 | |||
6 | ----------------------------- |
||
7 | 2. Installation instructions: |
||
8 | |||
9 | 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). |
||
10 | |||
11 | Installation is done by using |
||
12 | > make |
||
13 | |||
14 | Run the program with |
||
15 | > ./start.sh |
||
16 | |||
17 | Clean the installation by using |
||
18 | > make clean |
||
19 | |||
20 | --------------- |
||
21 | 3. Program use: |
||
22 | |||
23 | Program use is straight-forward: |
||
24 | - Fieldpoint channel selects the channel we wish to get temperature from. |
||
25 | - Start and end time determine the data range to be retrieved from the MySQL database. |
||
26 | - Draw to last time point selects the data range between start time and the most current point in the database. |
||
27 | - Output data settings determine what kind of format should be used for timestamps in the text output (local time, UNIX timestamp). |
||
28 | - Update button updates the plot, Export button exports the plot (saved in folder ./fieldpoint) and Close button closes the application. |
||
29 | - At any change in start or end times and updating the plot, the text output (saved in folder ./fieldpoint) is also updated. |
||
30 | |||
31 | ------------------------------- |
||
32 | 4. Time difference - Important! |
||
33 | |||
34 | 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! |