User`s guide

Universal Library User's Guide Analog Input Boards - USB-1616HS-BNC
115
Digital I/O
Configuration functions, methods, and argument values supported
UL: cbDConfigPort()
UL for .NET: DConfigPort()
PortNum: FIRSTPORTA, FIRSTPORTB
Port I/O functions, methods, and argument values supported
UL: cbDIn(), cbDOut(), cbDInScan(), cbDOutScan()*
UL for .NET: DIn(), DOut(), DInScan(), DOutScan()*
*FIRSTPORTA and FIRSTPORTB must be set for output to use this function.
Refer to "DIO PortNum" on page 119 for more information.
Options: BACKGROUND, CONTINUOUS, EXTCLOCK, EXTTRIGGER, WORDXFER, NONSTREAMEDIO,
ADCCLOCKTRIG, ADCCLOCK
The EXTCLOCK option can only be used with cbDInScan()/DInScan().
The EXTTRIGGER option can only be used with cbDInScan()/DInScan(). You can
use the cbSetTrigger()/SetTrigger() to program the trigger for rising edge,
falling edge, or the level of the digital trigger input (TTL).
The WORDXFER option can only be used with FIRSTPORTA.
The NONSTREAMEDIO, ADCCLOCKTRIG, and ADCCLOCK options can only be used with
cbDOutScan()/DOutScan().
The NONSTREAMEDIO option can only be used with the number of samples set equal
to the size of the FIFO or less. The FIFO holds 524288 samples.
Rate: 12 MHz
PortNum: FIRSTPORTA, FIRSTPORTB
DataValue: 0 to 255
0 to 65535 using the WORDXFER option with FIRSTPORTA
Bit I/O functions, methods, and argument values supported
UL: cbDBitIn(), cbDBitOut()
UL for .NET: DBitIn(), DBitOut()
PortType: FIRSTPORTA
BitNum: 0 to 23
Counter Input
Counter functions and methods supported
UL: cbCIn(), cbCIn32(), cbCConfigScan(), cbCInScan(), cbCClear()
UL for .NET: CIn(), CIn32(), CConfigScan(), CInScan(), CClear()
Note: Counters on these devices are zero-based (the first counter number is "0").
Counter argument values
Rate: 6 MHz
CounterNum: 0 to 3