User`s manual
CYDAS UDR Library User’s Guide Digital Input/Output Boards - CYDIO 48
97
CYDIO 48HCP
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, SECONDPORTA,
SECONDPORTB, SECONDPORTCL, SECONDPORTCH
DataValue
0 to 15 for FIRSTPORTCL or FIRSTPORTCH
0 to 255 for
FIRSTPORTA or FIRSTPORTB
BitNum
0 to 47 using 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 15
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 – LOADREG15
Event notification
Event notification functions and methods supported
UDR: cbEnableEvent(), cbDisableEvent()
UDR for .NET: EnableEvent(), DisableEvent()
Event notification argument values
EventType ON_EXTERNAL_INTERRUPT