User`s guide
Universal Library User's Guide Analog Input Boards - USB-1616HS-BNC
118
LimitBArray Any value valid for the associated input channel and less than LimitA
Ignored for SF_EQUAL_LIMITA, SF_LESSTHAN_LIMITA
Output#Array For SetpointOutputArray = SO_NONE:
Ignored
For SetpointOutputArray = SO_TMR#:
0 (to disable timer) or 15.26 to 1000000 (to set output frequency)
For SetpointOutputArray = SO_DAC#:
Voltage values between -10 and +10
OutputMask#Array Ignored
SetpointCount 0 (to disable setpoints) to 16
DAQ output
DAQ output functions and methods supported
UL: cbDaqOutScan()
UL for .NET: DaqOutScan()
DAQ output argument values
Options BACKGROUND, CONTINUOUS, SIMULTANEOUS, NONSTREAMEDIO, ADCCLOCKTRIG,
ADCCLOCK
ChanType ANALOG, DIGITAL16
ChanArray ANALOG: 0 to 1
DIGITAL16: FIRSTPORTA (FIRSTPORTB must be configured as an output)
Rate ANALOG: Up to 1 MHz
DIGITAL16: Up to 12 MHz (system-dependent) if no analog channel is
selected. Otherwise up to 1 MHz.
Range BIP10VOLTS ( 10 V)
Hardware considerations
Channel count
For input and output scans, the count must be set to an integer multiple of the number of channels or a
BADCOUNT error is returned.
Sampling and update rates
Sampling and update rates are system-dependent. Data overruns/underruns may occur with higher sampling
rates when using BACKGROUND and CONTINUOUS modes. To avoid this, use a larger buffer/count size, or use
NONSTREAMEDIO mode, if supported. The minimum size buffer is 256 for cbAOutScan()/AOutScan(). Values
less than that result in a BADBUFFERSIZE error.
Settling time
For most applications, settling time should be left at the default value of 1 µs. However, if you are scanning
multiple channels and one or more channels are connected to a high impedance source, you may get better
results by increasing the settling time. Keep in mind that increasing the settling time reduces the maximum
acquisition rate. You can set the time between A/D conversions with the ADC Settling Time option in
InstaCal. Select between 1 µs, 5 µs, 10 µs, or 1 ms.