115
PCIe-8154
This function is used to enable the Windows interrupt event to
host PC.
_8154_set_motion_int_factor
:
This function allows users to select motion related factors to ini-
tiate the event int. The error can never be masked once the
interrupt service is turned on by
_8154_int_control
().
Once the Interrupt function is enabled, you can use
_8154_wait_motion_interrupt
() to wait event.
_8154_wait_error_interrupt
:
When user enabled the Interrupt function by
_8154_int_control
(). He could use this function to wait the
error interrupts. Please refer to the operation theory section 4.8
_8154_wait_motion_interrupt
:
When user enabled the Interrupt function by
_8154_int_control
() and set the interrupt factors by
_8154_set_motion_int_factor
(). User could use this
function to wait the specific interrupt. When this function was
running, the process would never stop until evens were trig-
gered or the function was time out.
@ Syntax
C/C++(Windows XP/7/8.1)
I16 _8154_int_control(I16 card_id, I16
intFlag);
I16 _8154_set_motion_int_factor(I16 AxisNo,
U32 int_factor );
I16 _8154_wait_error_interrupt(I16 AxisNo,
I32 TimeOut_ms );
I16
_8154_wait_motion_interrupt(I16 AxisNo, I16
IntFactorBitNo, I32 TimeOut_ms );
Visual Basic (Windows XP/7/8.1)
B_8154_int_control(ByVal card_id As Integer,
ByVal intFlag As Integer) As Integer
B_8154_wait_error_interrupt(ByVal AxisNo As
Integer, ByVal TimeOut_ms As Long) As
Integer
Содержание PCIe-8154
Страница 2: ...ii Revision History Revision Release Date Description of Change s 2 00 Oct 7 2015 Initial Release ...
Страница 8: ...viii Table of Contents This page intentionally left blank ...
Страница 10: ...x List of Tables This page intentionally left blank ...
Страница 12: ...xii List of Figures This page intentionally left blank ...
Страница 46: ...34 Getting Started This page intentionally left blank ...
Страница 50: ...38 MotionCreatorPro Card Information Menu Provides Information about the card ...
Страница 64: ...52 MotionCreatorPro axis operation menu are similarly that s because we just introduce two axis menu ...
Страница 74: ...62 MotionCreatorPro This page intentionally left blank ...
Страница 158: ...146 This page intentionally left blank ...