A.1.5 dio_setcosinterrupt32, A.1.5, Dio_setcosinterrupt32 – ADLINK EOS-1200 User Manual
Page 74
62
Function Library
Return Code(s)
NoError
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport
A.1.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++
I16 DIO_SetCOSInterrupt32 (U16 CardNumber, U8
Port, U32 ctl, HANDLE *hEvent, BOOLEAN Manual-
Reset)
Visual Basic
DIO_SetCOSInterrupt32 (ByVal CardNumber As
Integer, ByVal Port As Byte, ByVal ctl As Long,
hEvent As Long, ByVal ManualReset As Byte) As
Integer
VB.Net
DIO_SetCOSInterrupt32 (ByVal CardNumber As
Short, ByVal Port As Byte, ByVal ctl As UInte-
ger, ByRef hEvent As Integer, ByVal ManualRe-
set As Byte) As Short
C#
short DIO_SetCOSInterrupt32 (ushort CardNum-
ber, byte Port, uint ctl, out long hEvent, bool
ManualReset)
Parameter(s)
CardNumber
ID of the card performing the operation