User`s guide

Universal Library User's Guide Temperature Input Boards - USB-TEMP Series, USB-TC Series
186
BitNum 0 to 7 on AUXPORT
Counter I/O (USB-TEMP-AI, USB-TC-AI)
Counter I/O functions and methods supported
UL: cbCIn()*, cbCIn32(), cbCLoad()**, cbCLoad32()**
UL for .NET: CIn()*, CIn32(), CLoad()**, CLoad32()**
*Although cbCIn() and CIn() are valid for use with this counter, cbCIn32() or
CIn32() may be more appropriate, since the values returned may be greater than
the data types used by cbCIn() and CIn() can handle.
**cbCLoad(), cbCLoad32(), CLoad() and CLoad32() only accept Count=0. These
functions are used to reset the counter.
Counter I/O argument values
CounterNum 1
Count 2
32
-1 when reading the counter.
0 when loading the counter.
cbCLoad() and cbCLoad32() / CLoad() and CLoad32()are only used to reset the
counter for this board to 0. No other values are valid.
The ―Basic signed integers‖ guidelines on page 140 apply when using cbCIn() or
CIn() for values greater than 32767, and when using cbCIn32() or CIn32() for
values greater than 2147483647.
RegNum LOADREG1
Hardware considerations
Pacing readings
The internal update rate for measurement is a fixed value for these devices. If the UL reads the device faster
than the internal update rate, readings "repeat." For example, if using cbTIn() in a loop to measure a rapidly
changing temperature, readings do not change for several iterations of the loop, then "jump" when the update
occurs internally.
Using single sensors with cbTInScan()
When using single sensors for RTD or thermistor sensors, you should ignore the data for channels that do not
have sensors attached. It is best to use cbTIn() for these configurations, since you can select which channels
to read. If you use cbTInScan(), however, data for all channels over the entire range of channels are returned.
Since some channels are not populated in this configuration, you should filter out the data for channels
without sensors.
Saving configuration settings
InstaCal allows you to save configuration settings to a file or load a configuration from a previously saved
file.
Each USB-TEMP and USB-TEMP-AI channel can be configured to measure temperature data collected
by one of five categories of temperature sensors: thermistors, thermocouples, RTDs, semiconductors, and
Disabled.
Each USB-TC and USB-TC-AI channel can be configured to measure temperature data collected by one
of eight types of thermocouples.
Each USB-TEMP-AI and USB-TC-AI voltage input channel can be configured for single-ended or
differential mode and for one of four ranges - ±10 V, ±5 V, ±2.5 V, or ±1.25 V.