User`s guide

Universal Library User's Guide Analog Input Boards - PCI-DAS64/Mx/16 Series
50
Digital I/O
Digital I/O functions and methods supported
UL: cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut(), cbDConfigPort()
UL 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
UL: cbC8254Config(), cbCIn(), cbCLoad()
UL 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 16 for
information on 16-bit values using unsigned integers.)
RegNum: LOADREG1
Triggering
Trigger functions and methods supported
UL: cbSetTrigger()
UL 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 16 for
information on 16-bit values using unsigned integers.)
Event notification
Event notification functions and methods supported
UL: cbEnableEvent(), cbDisableEvent()
UL 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