![Addi-Data APCI-1710 Скачать руководство пользователя страница 74](http://html.mh-extra.com/html/addi-data/apci-1710/apci-1710_technical-description_2848788074.webp)
APCI-1710 Standard
software
73
Shared memory:
If you have chosen the APCI1710_Synchronous_Mode, you have no access
to the common function. However, you have the possibility to create a
shared memory (ppv_UserSharedMemory), in which all given compilers or
user defines are saved.
The variable
ul_UserSharedMemorySize
identifies the size in byte of the
selected user type.
An indicator of the variable
pv_UserSharedMemory
will be returned to the
interrupt routine with the variable
pv_ USerSharedMemory
. This function is
not possible in Visual Basic.
The user interrupt routine shall have the following syntax:
VOID v_FunctionName
(BYTE
b_BoardHandle,
BYTE
b_ModuleMask,
ULONG ul_InterruptMask,
ULONG ul_CounterLatchValue,
BYTE
b_UserCallingMode,
VOID * pv_UserSharedMemory)
v_FunctionName
Name of the user interrupt routine
b_BoardHandle
Handle of the
APCI-1710,
which has
generated the interrupt.
b_ModuleMask
Mask of the module, which has
generated the interrupt
(see table in the interrupt of the
respecting manual)
ul_InterruptMask
Mask of the event, which has generated
the interrupt
(see table of the interrupt mask in the
respecting manual)
ul_CounterLatchValue The
latched values of the counter are
returned.
(See table of the interrupt mask in the
respecting manual)
b_UserCallingMode APCI1710_SYNCHRONOUS_MODE:
The user routine is called directly from
the driver interrupt routine
APCI1710_ASYNCHRONOUS_MODE:
The user interrupt routine is called
directly from the driver interrupt thread.
pv_UserSharedMemory Indicator
of the user shared memory.
The user can use other names for
v_FunctionName, b_BoardHandle,
b_ModuleMask, ul_InterruptMask, ul_CounterLatchValue,
b_UserCallingMode und pv_UserSharedMemory.
i
IMPORTANT!
If you use Visual Basic 4 the following parameters have no
meaning. Use the function: "i_APCI1710_TestInterrupt".
BYTE
b_UserCallingMode,
ULONG ul_UserSharedMemorySize,
VOID ** ppv_UserSharedMemory,
VOID v_FunctionName
(BYTE
b_BoardHandle
,
Содержание APCI-1710
Страница 13: ...Handling of the board APCI 1710 12 3 HANDLING OF THE BOARD Fig 3 1 Correct handling ...
Страница 20: ...APCI 1710 Technical data 19 4 5 Component scheme Figure 4 1 Component scheme ...
Страница 78: ...APCI 1710 Standard software 77 1 No interrupt 0 IRQ number ...
Страница 84: ...APCI 1710 Index 83 V Versions 14 W Weight 13 ...