beautypg.com

ADLINK EOS-1200 User Manual

Page 76

background image

64

Function Library

Visual Basic

DIO_GetCOSLatchData32 (ByVal CardNumber As
Integer, ByVal Port As Byte, CosLData As Long)
As Integer

VB.Net

DIO_GetCOSLatchData32 (ByVal CardNumber As
Short, ByVal Port As Byte, ByRef CosLData As
UInteger) As Short

C#

short DIO_GetCOSLatchData32(ushort CardNum-
ber, byte Port, out uint CosLData)

Parameter(s)

CardNumber

ID of the card performing the operation

Port

Channel number on which COS detection capability is to be
enabled/disabled. Valid port numbers: 0

CosLData

Returns the DI data latched in the COS Latch register while
the Change-of-State (COS) interrupt occurs.Valid port num-
bers: 32-bit data

Return Code(s)

NoError
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport