APCI-/CPCI-1500 Technical
description Chapter 9
52
IMPORTANT!
This function is only available for Visual Basic DOS.
2) i_APCI1500_SetBoardIntRoutineVBDos (..)
Syntax:
<Return value> = i_APCI1500_SetBoardIntRoutineVBDos
(BYTE b_BoardHandle)
Parameters:
- Input:
BYTE
b_BoardHandle
Handle of board
xPCI-1500
- Output:
No output signal has occurred.
Task:
This function must be called up for each
xPCI-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.
First calling (first board):
- the user interrupt routine is installed
- interrupts are enabled.
If you operate several boards
xPCI-1500
which have to react to interrupts, call
up the function as often as you operate boards
xPCI-1500
. The variable
v_FunctionName
is only relevant
for the first calling
.
Interrupt
The user interrupt routine is called up by the system when an interrupt is
generated.
The following errors are possible
- overtemperature
- short-circuit
- no voltage is available
Controlling the interrupt management
Please use the following functions
"ON UEVENT GOSUB xxxxxxxxx" of Visual Basic for DOS
and
"i_APCI1500_TestInterrupt"
This function tests the interrupt of the
xPCI-1500
. It is used for obtaining the
values of
b_BoardHandle
,
b_InterruptMask
and
b_InputChannelNbr.