Function Library
159
B_8168_map_axis_event(ByVal AxisNo As Integer,
ByVal EventNo As Integer, ByVal
EventIntfactor As Long) As Integer
@ Argument
cardNo
: card number 0,1,2,3…
AxisNo
: axis number 0,1,2,3,4…
intFlag
: int flag, 0 or 1 (0: Disable, 1:Enable)
int_factor
: interrupt factor, refer to previous table
*
int_type
: DOS only, Interrupt type, (1: error int, 2: event int, 3:
both happened )
*
event_int
: event_int_status, , refer to event_int_status table
*
error_int
: error_int_status, refer to error_int_status table by
bit
*
sts
: DOS only, (0: not this card’s IRQ, 1: this card’s IRQ)
*
phEvent
: Windows only, event array handle pointer for interrupt.
Ex. HANDLE phEvent[8];
*
error_int_status
: refer to error_int_status table by bit
*
event_int_status
: refer to event_int_status table by bit
*
phEventA
: Windows only, 2 dimensions event array handle
pointer for interrupt. Ex. HANDLE phEventA[8][6];
@ Return Code
ERR_NoError
ERR_EventNotEnableYet
ERR_LinkIntError
ERR_CardNoErrot
Summary of Contents for cPCI-8168
Page 4: ......
Page 10: ...vi List of Figures...
Page 29: ...Installation 19 2 9 Overview of CN3 CN6...
Page 31: ...Installation 21 2 11 Switch Setting...
Page 204: ...194 Function Library...