EasyManuals Logo
Home>PICO>Data Loggers>USB TC-08

PICO USB TC-08 User Manual

PICO USB TC-08
43 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #25 background imageLoading...
Page #25 background image
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
handle,
short channel,
char tc_type)
Call this routine once for each channel that you want to use. You can do this any time
after calling
usb_tc08_open_unit
. By default, all channels are disabled.
Arguments:
handle
- Specifies the USB TC-08 unit.
channel
- Specifies which channel you want to set the details for: this
should be between 0 - 8 (0 denotes the cold junction.)
tc_type
- 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'
as the character.
Returns:
0
- Use
usb_tc08_get_last_error
.
1
- Routine was successful.
Note: The
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,
long interval)
This routine starts the unit running with a sampling interval, specified in milliseconds. This
routine should be called after
usb_tc08_set_channel
has been called.
Arguments:
handle
- Specifies the USB TC-08 unit.
interval
- S
pecifies the requested sampling period. You can use
usb_tc08_get_minimum_interval_ms
to obtain the smallest
sampling period permitted with the current setup.
Returns:
0
- Use
usb_tc08_get_last_error
.
Interval
- Actual interval allowed by the driver.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the PICO USB TC-08 and is the answer not in the manual?

PICO USB TC-08 Specifications

General IconGeneral
BrandPICO
ModelUSB TC-08
CategoryData Loggers
LanguageEnglish