Technical description Chapter 9
APCI-/CPCI-1500
53
Calling convention:
Visual Basic DOS:
Dim Shared i_ReturnValue
As Integer
Dim Shared i_BoardHandle
As Integer
Dim Shared i_InterruptMask
As Integer
Dim Shared l_InputChannelNbr
As Integer
IntLabel:
i_ReturnValue = i_APCI1500_TestInterrupt (i_BoardHandle, _
i_InterruptMask, _
i_InputChannelNbr)
.
.
.
Return
ON UEVENT GOSUB IntLabel
UEVENT ON
i_ReturnValue = i_APCI1500_SetBoardIntRoutineVBDos (b_BoardHandle)
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: Interrupt already installed