16 interrupt start under windows – ADLINK cPCI-7249R User Manual

Page 54

Advertising
background image

46

C/C++ Libraries

Visual Basic (Windows 95)

W_7248_Software_Reset (ByVal cardNo As Integer) As

Integer

W_7249_Software_Reset (ByVal cardNo As Integer) As

Integer

W_7296_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 in Windows 95/98 driver. This function is used
to initialize and start up the interrupt control. Please refer to section 4.3 for
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 7248int.c or 7296int.c.

@ Syntax

C/C++ (Windows 95)

void W_7248_INT_Start (U16 cardNo, U16 c1, U16 c2, U16

ctrlValue, HANDLE *hIntEvent)

void W_7249_INT_Start (U16 cardNo, U16 c1, U16 c2, U16

ctrlValue, HANDLE *hIntEvent)

void W_7248_INT_Start (U16 cardNo, U16 c1, U16 c2, U16

ctrlValue, HANDLE *hIntEvent)

Visual Basic (Windows 95)

W_7248_INT_Start (ByVal cardNo As Integer, ByVal c1 As

Integer, ByVal c2 As Integer, ByVal ctrlValue As

Integer, hIntEvent As Long)

W_7249_INT_Start (ByVal cardNo As Integer, ByVal c1 As

Integer, ByVal c2 As Integer, ByVal ctrlValue As

Integer, hIntEvent As Long)

W_7296_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: