Printable version ATLAS Front-End Electronics
Software, Cooling prototype
o Overview
o Tension-plate
o Stamp-card
o Roof Board
o Chip Development
o Prototype boards
v Software
vCooling Prototype
o Glossary and Index
o Links
Don't print this page, print the printable version no-outline version instead!

The interface to the temperature sensors DS1820 is an adapter that must be connected to one of the COM ports on the PC. The COM port that is used must be set up in the configuration of the program before the sensors can be accessed. This setup is done through the configuration dialog within the program.

Main Window Main Window, non-graphical
Main window, graphical version Main window, non-graphical version

There are two main windows, a graphical version, and a non-graphical. Switching between them is done in the menu 'Show' item 'Layout'.
The graphical display is divided into two parts, one part show the layout of the boards and the sensors, the second part is a graph of the history of the most recent temperature readings. The non-graphical version consists of the history graphs, and a list of sensors shown in the graphs.

The temperature readings are in centigrades.


For each sensor is a chip name, and the current temperature written. The colour of a sensor is temperature coded, blue means a low temperature, red a high temperature. The scale is set by the selected limits of history graph temperature axis.
The colour of the text is the colour as used in the history graph described below.

The status of a sensor can be changed be clicking with left mouse button within the sensor square. This brings up a dialog:

Name Chip reference number
Serial Number The serial number of the physical sensor placed at this location. Used to address the sensor. The attached sensor can be selected from the list of sensors connected to the 1-wire interface
Active TRUE - Read the sensor
FALSE - Do not read the sensor
Display TRUE - The temperature is plotted in the history graph
FALSE - The temperature is not plotted in the history graph
Colour The colour for this sensor in the history graph and for the text.

History graph

Zoomed graph
The normal display has four graphs, each graph representing one side of a roof board.
The graphs show the temperature history during a time period where the bin size can be set through the configuration dialog. The left most values are lost when the history buffer overflows.
The time written on the x-axis is HH:MM.SS, which gives the time since the run was started.

HH = Hours, MM = Minutes, and SS Seconds

The scale of the temperature axis can be set through the configuration dialog.
The scroll bar on the temperature axis have two sliders, these indicates the interval displayed of the total possible interval (-55 to 125 centigrades). Moving the sliders will change the displayed interval.
In playback mode there is a scroll bar on the time axis as well.
The interval displayed can be changed by moving the slider.

Graph select By clicking with the right mouse button inside a graph brings up a dialog.
In this dialog is it possible to choose which sensors on this roof board to display in this window.
The Zoom check box allows one to have this graph to use the full history display area.

Menu items

DATA menu    
  Configuration dialog The configuration dialog:
Low low temperature limit shown in history graph
High high temperature limit shown in history graph
Update Must be greater than the readout time = (0.6 * number of sensors) seconds.
Average Readings for each bin in the history graph.
History (not adjustable)
Port The COM port to use
Log data Log data to file
Search at SOR Redo the sensor search at start of run
Debug Simulate the sensors, no access to any physical device.
Playback Select a logfile to playback.
The configuration stored in the logfile will become the current program settings.
Start run Before a run can be started for the first time in the current
session a search for existing devices on the bus must be done.
Pause run Pause current run
Continue run Continue current run
End run End current run
PLAY menu  
Search results Search for sensors on the 1-wire bus
A list of sensors found will be displayed
Select Part Select a specific sensor to exercise
Reset Reset all sensors
Convert Start temperature convertion on all sensors
Power Power used for the selected sensor
parasitic = from COM port
external = external source
Read sensor memory dialog Read the selected sensor memory
Write sensor memory dialog Write to the selected sensor memory
Save data Save data to EEPROM on selected sensor
Recall EEPROM Copy from EEPROM to memory on selected sensor

SHOW menu  
  Roof board The roof board sensors are shown in the layout
  Daughter board The daughter board sensors are shown in the layout
  Overlay All sensors are shown
  Layout Non-graphical representation of active sensors

Logfile format

The logfile is an ASCII-file with one line for each reading, one value for each sensor. There are in total 70 sensors, each sensor takes 6 bytes, i.e. the file will increase with (420 + header) bytes for each reading (as given by the Update field in the configuration dialog).
The logfile format can easily be imported into programs like Excel or Access to generate plots.


SOR Time of Start Of Run.
POR Time of Pause Of Run.
COR Time of Continue Of Run.
EOR Time of End Of Run.
UPDATE Update interval in seconds.
NAME Active sensor names (max 70).
DEVICE Sensor numbers, as found when doing a search.
SERNUM Sensor serial numbers, corresponding to the NAME record.
DATA Sensor values, seconds since run started.

The description of the hardware it's supposed to connect to can be found under Prototype boards/Cooling prototype.

Download the software here:
tempTRT.exe Executables for Windows95
Version 1.1 (with playback) Compressed source-code (Visual C++) to tempTRT v1.1
temptrtv10.exe Executables for Windows95
Version 1.0 Compressed source-code (Visual C++) to tempTRT v1.0

©1998 Particle Physics Department, Lund University
Comments to: Lund Electronics group,