Instruction Manual
Additional Function Library • 103
I16 link_axis_interrupt(I16 AxisNo, void ( _stdcall
*callbackAddr)(void))
Visual Basic (Windows)
W_8134_INT_Enable (ByVal cardNo As Long, phEvent As
Long)
W_8134_INT_Disable (ByVal cardNo As Long) As Integer
W_8134_Set_INT_Control (ByVal cardno As Integer,
ByVal intFlag As Integer)
set_int_factor (ByVal axis As Integer, ByVal
int_factor As Long) As Integer
get_int_status (ByVal axis As Long, int_status As
Long) As Integer
link_axis_interrupt(ByVal AxisNo As Integer,
By Val callbackAddr
as Long) As Integer
@ Argument
cardNo
: card number 0,1,2,3…
axis
: axis number 0,1,2,3,4…
intFlag
: int flag, 0 or 1
phEvent: event or event array for interrupt axis
(For Windows only)
int_factor
: interrupt factor, refer to previous
interrupt factor table
int_axis
: interrupt axis number (the return value)
int_status
: interrupt factor (the return value), refer
to previous interrupt type table
callbackAddr
: The call back function address
@ Return Code
ERR_NoError