ADLINK PCI-8154 User Manual
Page 194
184
Function Library
@ Syntax
C/C++(Windows 2000/XP)
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 2000/XP)
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
B_8154_wait_motion_interrupt(ByVal AxisNo As
Integer, ByVal IntFactorBitNo As Integer,
ByVal TimeOut_ms As Long) As Integer
B_8154_set_motion_int_factor(ByVal AxisNo As
Integer, ByVal int_factor As Long) As
Integer
@ Argument
card_id
: Specify the index of target PCI-8154 card. The card_id
could be decided by DIP switch (SW1) or depend on slot
sequence. Please refer to _8154_initial().
intFlag
: Enable/Disable the Interrupt function
Value Meaning
0
Disable
1
Enable