Omega Engineering 8 Channel Thermocouple USB Data Acquisition Module TC-08 User Manual page 39

8 channel thermocouple usb data acquisition module
Table of Contents

Advertisement

3.3.4.2
usb_tc08_legacy_set_channel
short usb_tc08_legacy_set_channel
(
short handle,
short channel,
char
short filter_factor,
short offset,
short slope
)
Call this routine once for each channel that you would like to take readings from. You
can do this any time after calling usb_tc08_open_unit.
Arguments
Returns
Note: Do not call this function unless you are operating the USB TC-08 in legacy
mode, having called usb_tc08_legacy_run.
tc_type,
handle
Specifies the USB TC-08 unit.
channel
Specifies which channel you want to set the details
for: This should be between 0 and 8.
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.
filter_factor
Specifies the size of the median filter. Each time the
driver takes a reading from this channel, it updates
the filtered value by adding a reading to a median
filter. The filter factor can be set to any value
between 0 - 255 (0 or 1 turns filtering off).
filter_factor
These parameters are provided for backward
compatibility with the serial TC-08 and have no effect
when used with the USB TC-08.
0
Use usb_tc08_get_last_error.
1
Legacy set channel successful.
Technical reference
35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents