User`s guide
Universal Library User's Guide Analog Input Boards - USB-1208 Series
89
USB-1208FS
Ignored - Not programmable; fixed at UNI4VOLTS (0 to 4 V, nominal. Actual range
is 0 to 4.096 V)
DataValue USB-1208LS
0 to 1023
USB-1208FS
0 to 4095
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: cbDOut(), cbDIn()
UL for .NET: DOut(), DIn()
PortNum FIRSTPORTA, FIRSTPORTB
DataValue 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 15 on FIRSTPORTA
Counter I/O
Counter I/O 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 I/O argument values
CounterNum 1
Count 2
32
-1 when reading the counter.
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.