62
Function Library
Parameter(s)
CardNumber
ID of the card performing the operation
Int1Mode
The interrupt mode of INT1. Valid values:
Z
INT1_DISABLE
Z
INT1_EXT_SIGNALINT1 by COS of Ch0 of Port 0
Int2Mode
INT2 interrupt mode. Valid values:
Z
INT2_DISABLE
Z
INT2_EXT_SIGNAL INT2 by COS of Ch1 of Port 0
hEvent
Returned dual-interrupt event handles. The status of a dual-
interrupt event indicates that an interrupt is generated or not
for cards comprising dual-interrupt system.
Return Code(s)
NoError
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport
5.6.5
DIO_SetCOSInterrupt32
Description
Enables or disables the COS (Change Of State) interrupt
detection capability of the specified ports with 32-bit data
width.
Syntax
C/C++