ADLINK PCI-8102 User Manual
Page 166

Function Library
155
PCI-8102
When user enabled the Interrupt function by _8102_int_control().
He could use this function to wait the errior interrupts.
_8102_wait_motion_interrupt:
When user enabled the Interrupt function by _8102_int_control()
and set the interrupt factors by _8102_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 triggered or the function was time out.
_8102_wait_gpio_interrupt:
When user enabled the Interrupt function by _8102_int_control()
and set the interrupt factors by _8102_set_gpio_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 triggered or the function was time out.
@ Syntax
C/C++(Windows 2000/XP/7)
I16 _8102_int_control(I16 card_id, I16 intFlag);
I16 _8102_set_motion_int_factor(I16 AxisNo, U32
int_factor );
I16 _8102_set_gpio_int_factor(I16 card_id, U16
int_factor );
I16 _8102_wait_error_interrupt(I16 AxisNo, I32
TimeOut_ms );
I16 _8102_wait_motion_interrupt(I16 AxisNo, I16
IntFactorBitNo, I32 TimeOut_ms );
I16 _8102_wait_gpio_interrupt(I16 card_id, I16
IntFactorBitNo, I32 TimeOut_ms );
Visual Basic (Windows 2000/XP/7)
B_8102_int_control(ByVal card_id As Integer,
ByVal intFlag As Integer) As Integer
B_8102_wait_error_interrupt(ByVal AxisNo As
Integer, ByVal TimeOut_ms As Long) As
Integer
B_8102_wait_motion_interrupt(ByVal AxisNo As
Integer, ByVal IntFactorBitNo As Integer,
ByVal TimeOut_ms As Long) As Integer