Standard software
Calling convention:
ANSI C :
void
v_FunctionName
{
.
.
}
int
unsigned char b_BoardHandle;
unsigned char b_InterruptNbr;
i_ReturnValue = i_PA1500_SetBoardIntRoutineDos
(b_BoardHandle,
b_InterruptNbr,
v_FunctionName );
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: Interrupt already installed
-3: Interrupt number error
i
IMPORTANT!
This function is only available for Visual Basic DOS
2)
i_PA1500_SetBoardIntRoutineVBDos (..)
Syntax:
<Return value> = i_PA1500_SetBoardIntRoutineVBDos
Parameters:
- Input:
BYTE
b_BoardHandle
BYTE
b_InterruptNbr
- Output:
No output signal has occurred
Task:
This function must be called up for each PA 1500 on which an interrupt
action is to be enabled. It installs an user interrupt function in all boards on
which an interrupt is to be enabled.
46
(unsigned char b_BoardHandle,
unsigned char b_InterruptMask,
unsigned int
i_ReturnValue;
Handle of board PA 1500
PA 1500 interrupt number
(3, 5, 10, 11, 12, 14 or 15)
b_InputChannelNumber)
(BYTE
b_BoardHandle,
BYTE
b_InterruptNbr)
PA 1500
Need help?
Do you have a question about the ADDINUM PA 1500 and is the answer not in the manual?
Questions and answers