Technical reference
37
3.3.4.4
usb_tc08_legacy_get_cold_junction
short usb_tc08_legacy_get_cold_junction
(
long * temp,
short handle
)
This routine retrieves a cold junction temperature reading. This can also be achieved
by passing channel = 0 to usb_tc08_get_temp. Temperatures are returned in
hundredths of a degree Celsius. Normally, you do not need to worry about the cold
junction temperature, as the driver automatically uses it to compensate
thermocouples. You can, however, use it as an indication of ambient temperature.
Arguments
handle
Specifies USB TC-08 unit.
temp
Pointer to a location where the temperature reading is to be
stored.
Returns
0
Use usb_tc08_get_last_error.
1
Retrieval of cold junction temperature reading successful.