User`s manual

CYDAS UDR Library User’s Guide Analog Input Boards - CYDAS 64MxHRDAP Series
34
Digital I/O
Digital I/O functions and methods supported
UDR:
cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut(), cbDConfigPort()
UDR for .NET:
DOut(), DIn(), DBitIn(), DBitOut(), DConfigPort()
Digital I/O argument values
PortNum FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH, AUXPORT
DataValue
0 to 15 for FIRSTPORTCL or FIRSTPORTCH or AUXPORT
0 to 255 for FIRSTPORTA or FIRSTPORTB
BitNum 0 to 23 for FIRSTPORTA
0 to 3 for
AUXPORT
Counter I/O
Counter functions and methods supported
UDR:
cbC8254Config(), cbCIn(), cbCLoad()
UDR for .NET:
C8254Config(), CIn(), CLoad()
Counter argument values
CounterNum 1
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
Triggering
Trigger functions and methods supported
UDR:
cbSetTrigger()
UDR for .NET:
SetTrigger()
Trigger argument values
TrigType TRIGPOSEDGE, TRIGNEGEDGE, TRIGABOVE, TRIGBELOW, GATEHIGH, GATELOW,
GATENEGHYS, GATEPOSHYS, GATEABOVE, GATEBELOW, GATEINWINDOW, GATEOUTWINDOW
Threshold 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.)
Event notification
Event notification functions and methods supported
UDR:
cbEnableEvent(), cbDisableEvent()
UDR for .NET: EnableEvent(), DisableEvent()
Event notification argument values
EventType ON_SCAN_ERROR, ON_PRETRIGGER, ON_DATA_AVAILABLE, ON_END_OF_AI_SCAN,
ON_END_OF_AO_SCAN