User Tools

Site Tools


slowcontrol:temp

Temperature Readout

The temperature readout is divided into two independent parts:

All files are in “agmaas@hadanapc2:/home/agmaas/Temp_gui”.

Temperature Measurement

To start the endless measurement, type

agmaas@hadanapc2:/home/agmaas/Temp_gui/python Measurement.py x

where x is a optional amount of time in seconds. Once this is executed, the Keyseight module will measure the temperature every x seconds (If x is omitted, the default time between two measurements is 600 s). The measurements are stored in “data.txt”. This process should be running in a shell all the time to provide data more or less continuously. There is a print out when the temperature is measured.

Webpage for Observing

To start the webserver for observing, type

 agmaas@hadanapc2:/home/agmaas/Temp_gui/python TempServer.py port

where port is an optional port. Once this is executed, the server runs (If the port is omitted, the server will start at port 8080. Ports below 1024 require root permissions!).

To open the web GUI the webserver needs to be running. Open http://10.106.11.8:8080/Temp_Obs.html (or substitue “8080” with the port which you chose at starting the webserver).

In the upper part of the blue box you can set a start and end time. This causes the plot to show all data which were taken in this period (→ if you want the plot to be up to date type in for example next days date in the end time).

In the lower part of the blue box you can name the sensors like it suits you.

The plot is refreshed automatically every some seconds with respect to the settings in the blue box. If you want to update the plot immediately click “Set Plot Parameters”.

Changes in the blue box settings in one client are updated in every other client. This is made using the “props.txt” file which stores all the blue box settings.

The temperature measurements are made with the Keysight 34972A. In this GUI only six sensors are integrated because it is made for Proto16 having four sensors in between the crystals and two outer ones.

NOTE: For better displaying the year is omitted. The code for plotting also contains the year but can only show data taken within one year which is the actual year. If this should be changed one needs to modify “plotting.py”.

slowcontrol/temp.txt · Last modified: 2022/01/14 18:44 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki