16 interrupt start under windows – CyberResearch PCIDIO 48H User Manual

Page 55

Advertising
background image

46

• C/C++ Libraries

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. Pleas

e refer to section

4.3 for 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)

Advertising
This manual is related to the following products: