User`s guide

Universal Library User's Guide Analog Input Boards - USB-1616HS, USB-1616HS-2, and USB-1616HS-4
107
USB-1616HS, USB-1616HS-2, and USB-1616HS-4
The USB-1616HS Series includes the USB-1616HS, USB-1616HS-2, and USB-1616HS-4.
Analog input
Analog input functions and methods supported
UL: cbAIn(), cbAInScan(), cbALoadQueue(), cbFileAInScan(), cbATrig(),
cbAPretrig()*
UL for .NET: AIn(), AInScan(), ALoadQueue(), FileAInScan(), ATrig, APretrig()*
* Pretrigger capability is implemented in software. PretrigCount must be less
than the TotalCount and cannot exceed 100000 samples. TotalCount must be
greater than the PretrigCount. If a trigger occurs while the number of collected
samples is less than the PretrigCount, that trigger will be ignored. Requires a call
to cbSetTrigger/SetTrigger for the analog trigger type.
Analog input argument values
Options BACKGROUND, CONTINUOUS, EXTCLOCK, CONVERTDATA, DMAIO, BLOCKIO, EXTTRIGGER*
* With EXTTRIGGER mode, the first channel in the scan is the analog trigger
channel.
HighChan 0 to 15 in single-ended mode, 0 to 7 in differential mode. (0 to 63 single-ended,
0 to 31 differential if the AI-EXP48 expansion board is installed.)
Rate Up to 1 MHz
Range BIP10VOLTS ( 10 V)
BIP5VOLTS ( 5 V)
BIP2VOLTS ( 2 V)
BIP1VOLTS ( 1 V)
BIPPT5VOLTS ( 0.5 V)
BIPPT2VOLTS ( 0.2 V)
BIPPT1VOLTS ( 0.1 V)
Analog output (USB-1616HS-2 and USB-1616HS-4 only)
Analog output functions and methods supported
UL: cbAOut(), cbAOutScan()
UL for .NET: AOut(), AOutScan()
Analog output argument values
Options BACKGROUND, CONTINUOUS, EXTCLOCK, SIMULTANEOUS, NONSTREAMEDIO,
ADCCLOCKTRIG, ADCCLOCK
NONSTREAMEDIO can only be used with the number of samples set equal to the size
of the FIFO or less. The FIFO holds 524288 samples.
HighChan USB-1616HS-4: 0 to 3
USB-1616HS-2: 0 to 1
Rate 1 MHz
Range Ignored - Not programmable; fixed at BIP10VOLTS ( 10 volts)
DataValue 0 to 65535 (Refer to "16-bit values using a signed integer data type" on page 16 for
information on 16-bit values using unsigned integers).
Pacing Hardware pacing, external or internal clock supported.