User`s guide
Universal Library User's Guide Digital Input/Output Boards - USB-1024 and USB-DIO24 Series
149
USB-1024 and USB-DIO24 Series
The USB-1024LS, USB-1024HLS, USB-DIO24/37, and USB-DIO24H/37 support the following UL and UL
for .NET features.
Digital I/O
Configuration functions, methods, and argument values supported
UL: cbDConfigPort()
UL for .NET: DConfigPort()
PortNum FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH
Port I/O functions, methods, and argument values supported
UL: cbDOut(), cbDIn()
UL for .NET: DOut(), DIn()
PortNum FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH
DataValue 0 to 15 for FIRSTPORTCL or FIRSTPORTCH
0 to 255 for FIRSTPORTA or FIRSTPORTB
Bit I/O functions, methods, and argument values supported
UL: cbDBitIn(), cbDBitOut()
UL for .NET: DBitIn(), DBitOut()
PortType FIRSTPORTA
BitNum 0 to 23 on FIRSTPORTA
Counter I/O
Counter 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 argument values
CounterNum 1
Count 0 to 2
32
-1 when reading the counter.
LoadValue 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