I_Pa1500_Testinterrupt - Addi-Data ADDINUM PA 1500 Technical Description

Digital input and output board
Table of Contents

Advertisement

Standard software
Visual Basic 5:
Sub
v_FunctionName
End Sub
Dim i_ReturnValue As Integer
Dim i_BoardHandle As Integer
Dim i_InterruptNbr As Integer
i_ReturnValue = i_PA1500_SetBoardIntRoutineWin32
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: Interrupt already installed
-3: Interrupt number error
-4: Calling mode selection of the user interrupt routine is wrong
-5: No memory avaible for the user shared memory
5)

i_PA1500_TestInterrupt (..)

Syntax:
<Return value> = i_PA1500_TestInterrupt (PBYTE pb_BoardHandle,
Parameters:
- Input:
No input signal has occurred.
- Output:
PBYTE pb_BoardHandle
PBYTE
pb_InterruptMaske
56
(ByVal i_BoardHandle
ByVal i _InterruptMask
ByVal i _InputChannelNbr As Integer,
ByVal b_UserCallingMode As Integer,
ByVal l_UserSharedMemory As Long)
(i_BoardHandle,
i_InterruptNbr,
PA1500_ASYNCHRONOUS_MODE,
0,
0,
AddressOf v_FunctionName)
Handle of the board PA 1500 which has
generated the interrupt,
Error mask of the event which has
generated the interrupt. Several errors
can simultaneously occur.
As Integer,
As Integer,
PBYTE pb_InterruptMaske,
PBYTE pb_ChannelNbr)
PA 1500

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADDINUM PA 1500 and is the answer not in the manual?

Questions and answers

Table of Contents