Function Library
61
_8136_Callback_Function
This function can set a user-defined function to be an ISR. When
one interrupt comes, this user-defined function will wake up. This
function should be dealt with carefully, and not too much time
should be spent on it.
@ Syntax
C/C++ (DOS, Windows 95/98/NT/2000)
U16_8136_INT_Enable(I16 CardNo, HANDLE *phEvent);
(Windows Only)
U16 _8136_INT_Disable(I16 CardNo); (Windows
Only)
void _8136_S_INT_Control(I16 CardNo, U16 intFlag
)
U16 _8136_S_Set_Int_Factor(I16 CardNo, I16
ChannelNo, U16 IntFactor,OptionType)
U16 _S_Get_Int_Status(I16 CardNo,I16 AxisNo,U16
*IntStatus)
void _8136_Callback_Function(I16 CardNo,void
*callbackAddr(I16 AxisNo, U16 IntSts))
Visual Basic 5.0 or higher
B_8136_INT_Enable (ByVal card_number As Integer,
phEvent As Long) As Integer
B_8136_INT_Disable (ByVal card_number As Integer)
As Integer
B_8136_S_INT_Control (ByVal CardNo As Integer,
ByVal intFlag As Integer)
B_8136_S_Set_Int_Factor (ByVal CardNo As Integer,
ByVal AxisNo As Integer, ByVal IntFactor As
Integer, ByVal OptionType As Integer) As
Integer
B_8136_S_Get_Int_Status (ByVal CardNo As Integer,
ByVal AxisNo As Integer, IntStatus As Long)
As Integer
B_8136_Callback_Function (ByVal CardNo As
Integer, ByVal lpCallBackProc As Long) As
Integer
Summary of Contents for PCI-8136
Page 4: ......
Page 20: ...12 Installation...
Page 32: ...24 Signal Connections Figure 3 7 Connect to open collector output...
Page 48: ...40 Operation Theory...
Page 72: ...64 Function Library...
Page 78: ...70 Appendix 12 A save finish window will appear 13 Press Exit button to exit utility...
Page 80: ...72 Appendix Channel 2 Channel 3...
Page 81: ...Appendix 73 Channel 4 Channel 5...
Page 82: ...74 Appendix...