User`s guide

Universal Library User's Guide Analog Input Boards - CIO-DAS1400 and CIO-DAS1600 Series
80
Digital I/O
Digital I/O functions and methods supported
UL: cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut()
UL for .NET: DOut(), DIn(), DBitIn(), DBitOut()
For DAS1600, the following function and method are also valid:
UL: cbDConfigPort()
UL for .NET: DConfigPort()
Digital I/O argument values
PortNum AUXPORT*
DataValue 0 to 15
BitNum 0 to 3
* AUXPORT is not configurable for these boards.
For DAS1600, the following additional argument values are also valid:
PortNum FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH
DataValue 0 to 15 for FIRSTPORTCL or FIRSTPORTCH;
0 to 255 for FIRSTPORTA or FIRSTPORTB
BitNum 0 to 23 for FIRSTPORTA
Counter I/O
Counter functions and methods supported
UL: cbC8254Config(), cbCIn(), cbCLoad()
UL for .NET: C8254Config(), CIn(), CLoad()
Counter argument values
CounterNum 1 to 3
Config HIGHONLASTCOUNT, ONESHOT, RATEGENERATOR, SQUAREWAVE, SOFTWARESTROBE,
HARDWARESTROBE
LoadValue 0 to 65535 (Refer to "16-bit values using a signed integer data type" on page 16 for
information on 16-bit values using unsigned integers.)
RegNum: LOADREG1, LOADREG2, LOADREG3
Hardware considerations
Pacing analog input
Hardware pacing, external or internal clock supported.
Specifying SINGLEIO while also specifying BURSTMODE is not recommended. If this combination is used, the
Count value should be set as low as possible, preferably to the number of channels in the scan. Otherwise,
overruns may occur.
When EXTMEMORY is used with the CIO-DAS1600 the cbGetStatus() function or GetStatus() method does
not return the current count and current index. This is a limitation imposed by maintaining identical registers
to the KM-DAS1600.