Visual Basic (Windows 95)

W_DIO48H_Software_Reset (ByVal cardNo As Integer) As Integer

Integer

W_DIO96H_Software_Reset (ByVal cardNo As Integer) As Integer

@ Argument

cardNo: card number which the DIO will be reset.

@ Return Code

ERR_NoError

5.16 Interrupt Start under Windows

@ Description

This function is only available with the Windows 95/98 driver. It is used to initialize and start up the interrupt control. Please refer to section

4.3for a detailed description of interrupt system. After calling this function, every time an interrupt request signal generated, a software event is signaled. So that in your program, you can use wait operation to wait for the

event. When the event is signaled, it means an interrupt is generated. Please refer to the sample program DIO48Hint.c or DIO96Hint.c.

@ Syntax

C/C++ (Windows 95)

void W_DIO48H_INT_Start (U16 cardNo, U16 c1, U16 c2, U16 ctrlValue, HANDLE *hIntEvent)

void W_DIO48H_INT_Start (U16 cardNo, U16 c1, U16 c2, U16 ctrlValue, HANDLE *hIntEvent)

Visual Basic (Windows 95)

W_DIO48H_INT_Start (ByVal cardNo As Integer, ByVal c1 As Integer, ByVal c2 As Integer, ByVal ctrlValue As Integer, hIntEvent As Long)

W_DIO96H_INT_Start (ByVal cardNo As Integer, ByVal c1 As Integer, ByVal c2 As Integer, ByVal ctrlValue As Integer, hIntEvent As Long)

46 C/C++ Libraries