USB TC-08 Help
31
© 2005 Pico Technology Limited. All rights reserved.
USBTC08044-2
3.3.4.3
usb_tc08_legacy_get_temp
short usb_tc08_legacy_get_temp (long * temp,
Once you open the driver and define some channels, you can call the
routine. The driver will then constantly take readings from the USB
TC-08. Temperatures are returned in hundredths of a degree Celsius and voltages are
Specifies from which channel to read temperature.
be 0 for CJC, 1 for Channel 1, 2 for Channel 2 and so on.
- Pointer to a location where readings are to be placed.
Each reading should be compared with 2147483647L or
LONG_MAX (include limits.h) to check for overflows.
overflow occurs when the input signal is higher than the
measuring range of the USB TC-08.
- Specifies whether or not to filter the data.
median filtered if set to 1. 0 causes the unfiltered
temperature to be stored in
defined by the filter factor, set during a
- Temperature retrieval successful.
Note: Do not call this function unless you are operating the USB TC-08 in legacy mode,