Technical reference
24
© 2005 Pico Technology Limited. All rights reserved.
USBTC08044-2
3.3.3
New USB mode only
3.3.3.1
usb_tc08_set_channel
short usb_tc08_set_channel ( short
Call this routine once for each channel that you want to use. You can do this any time
. By default, all channels are disabled.
- Specifies the USB TC-08 unit.
- Specifies which channel you want to set the details for: this
should be between 0 - 8 (0 denotes the cold junction.)
- Specifies what type of thermocouple is connected to this
channel. Set to one of the following characters: 'B', 'E', 'J',
'K', 'N', 'R', 'S', 'T.' Use a space in quotes to disable the
channel. Voltage readings can be obtained by passing 'X'
- Routine was successful.
CJC is always enabled automatically if a thermocouple is being used. When no
channels are active as thermocouples, the CJC can be optionally enabled or disabled.
3.3.3.2
usb_tc08_run
long usb_tc08_run( short handle,
This routine starts the unit running with a sampling interval, specified in milliseconds. This
routine should be called after
- Specifies the USB TC-08 unit.
pecifies the requested sampling period. You can use
usb_tc08_get_minimum_interval_ms
sampling period permitted with the current setup.
- Actual interval allowed by the driver.