User`s manual

CYDAS UDR Library User’s Guide Analog Input Boards - CYDAS 1400 and CYDAS 1600 Series
65
Digital I/O
Digital I/O functions and methods supported
UDR:
cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut()
UDR for .NET: DOut(), DIn(), DBitIn(), DBitOut()
For CYDAS 1600, the following function and method are also valid:
UDR:
cbDConfigPort()
UDR 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 CYDAS 1600, 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
UDR:
cbC8254Config(), cbCIn(), cbCLoad()
UDR 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 7 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 CYDAS 1600 the cbGetStatus() function or GetStatus() method does
not return the current count and current index.