16 interrupt start under windows – ADLINK PCI-7224 User Manual

Page 57

Advertising
background image

C/C++ Libraries

49

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 the Windows 95/98 driver. This function is
used to initialize and start up the interrupt control. Please refer to section 4.3
for a detailed description of the interrupt system. After calling this function,
every time an interrupt requests a signal to be generated, a software event is
signaled. This implies that in the program, the user can use wait the
operation to wait for the event. When the event is signaled, it means an
interrupt is generated. Please refer to 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: