This program is written for 32-Bit Microsoft Windows.
The source code
is provided in Delphi 5.0.
OPERATION OF 'TempSense'
This utility uses the TMEX API to read and view temperatures
from
DS1920/DS1820 devices. This is a multi-threaded program in that
an external thread is created to perform 1-Wire communication
during
program startup. This frees the main GUI thread to perform
updates
on Windows/mouse events and keeps the app from "freezing" during
calls to "Sleep". It requires the 32-Bit Windows TMEX
drivers
to be present.
This example program contains only one window. It displays the
information on DS1920/DS18S20 temperature devices such as the
1-Wire
address and the value of the temperature read by the
device. To switch
adapters or ports, please change the default port adapter
through the
'Default 1-Wire Net' program located in the folder in which the
1-Wire Drivers
were installed.
Ibtmexpw.pas - Pascal
source file for the TMEX calls.
Readme.html -
This file.
TempSense.dpr
- Delphi project file.
TempSense.exe -
Executable.
TempSenseUnit.dfm - Main Form (Window)
of the project.
TempSenseUnit.pas - Main pascal source
file for Main Form.