User`s guide

Universal Library User's Guide Analog Input Boards - USB-1608HS, USB-1608HS-2AO
102
Output scan restriction
You cannot access cbSetTrigger()/SetTrigger() or call BINODEID while an analog output scan is in
progress.
Analog triggering
When using cbAInScan()/AInScan() with EXTTRIGGER, the value entered to cbSetTrigger() threshold
arguments for analog trigger modes should be a 16 bit value. The resolution of the circuitry is actually 12 bits,
but the library uses a 16 bit value so that cbFromEngUnits() can be used to obtain the trigger value.
Retriggering
When using cbAInScan()/AInScan(), you can use RETRIGMODE to set up repetitive trigger events. When using
RETRIGMODE, it is best to set the values for the Count argument (cbAInScan()/AInScan()) and the
BIADTRIGCOUNT argument (cbSetConfig()/SetAdRetrigCount()) to an integer multiple of the packet size
(and the number of channels if using CONTINUOUS). That way, the entire buffer, or the portion of the buffer
defined by BIADTRIGCOUNT, will contain updated data.
Remote sensing (USB-1608HS-2AO)
You can enable remote sensing for each of the two analog outputs on the USB-1608HS-2AO with InstaCal.
The remote sensing feature compensates for the voltage drop error that occurs in applications where the USB-
1608HS-2AO's analog outputs are connected to its load through a long wire or cable type interconnect.
The remote sensing feature can compensate for I*R induced voltage losses up to 750 mV, and for any series
resistance up to 75 Ω between its remote sensing terminal pins and its output load.
To configure the remote sensing connection, connect two separate output wires one from the
VDACn_F (force) output terminal, and one from the VDACn_S (sense) output terminal to the high
side or positive input terminal of the field device (load).
If you are not using the remote sensing feature, simply connect a single output wire or cable from the
VDACn_F (force) output terminal to the load, and leave the VDACn_S (sense) terminal unconnected.
Refer to the USB-1608HS-2AO User's Guide for more information about remote sensing.
Miscellaneous functions and methods supported
UL: cbFlashLED()
UL for .NET: FlashLED()
Causes the LED on a USB device to blink. When you have several USB devices connected to the computer,
use these functions to identify a particular device by making its LED blink.