User Tools

Site Tools


slowcontrol:temp

This is an old revision of the document!


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”.

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.

slowcontrol/temp.1527162955.txt.gz · Last modified: 2022/01/14 18:44 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki