TH-03
Section: Utilities (8)
Updated: 1.0.0
Index
Return to Main Contents
NAME
th03 - A digital thermometer interface
SYNOPSIS
th03 [options] serialdevice
DESCRIPTION
th03 reads the temperature of the Picotech TH-03 thermometer as a commandline
utility or as a daemon.
OPTIONS
- -a
-
Append output written to the output file. Requires -o to have any effect.
- -c mask
-
Channel conversion mask where 1=chan1, 2=chan2, 4=chan3. Default is 0x07,
meaning all channels are measured.
- -d
-
Daemonize and run as a background process.
- -g grp
-
Change the running process to run with effective group id grp
- -h
-
Brief help message.
- -i int
-
Sampling interval in seconds. Default is 10s and must be larger or equal 1.
- -l
-
Also log temperature to syslog.
- -o file
-
Write output to file.
- -p n
-
Power off wait time while initializing, default is 5s.
- -P n
-
Power on time time to stabelize power, default is 5s.
- -r
-
Output raw numbers including references instead of temperature in Celcius.
- -s n
-
Number of samples to take before quiting, default is 0, meaning infinite many.
- -t
-
Put timestamp in output of every line in format %Y%m%d%H%M%S. See strftime(3)
for format description.
- -u usr
-
Change the running process to run with effective user id usr. This
implicitly sets the group id, unless -g is used to override.
OUTPUT
The output generated by th03 are lines containing the temperature. The
mask option -c can be used to control which channels are converted and
shown. Each line has the format:
[YYYYMMDDHHMMSS] Ch1 Ch2 Ch3 [LoRef HiRef]
The references are only shown in raw format using option -r and the
timestamp is controlled by option -t.
Output can be written to a file (-o option) or in append mode (o
combined with -a option). Append mode will send all output to the file.
Without append mode, the file if overwritten on each sample.
AUTHOR
th03 is written by P. Skaarup and B. Stultiens and currently maintained
by B. Stultiens.
Send comments and bug reports to th03 at akhphd.au.dk (read the mailnote
in the README file first) and visit the homepage at:
http://www.akhphd.au.dk/~bertho/th03/.
SEE ALSO
Picotech website http://www.picotech.com
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- OUTPUT
-
- AUTHOR
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 09:58:39 GMT, June 11, 2007