ADLINK Technology PCI-8136 User Manual page 62

General purpose multi-function i/o card
Hide thumbs Also See for PCI-8136:
Table of Contents

Advertisement

@ 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);
void _8136_S_INT_Control(I16 CardNo, U16 intFlag )
U16 _8136_S_Set_Int_Factor(I16 CardNo, I16 ChannelNo, U16
IntFactor)
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
@ Arguments
CardNo: card number designated to set (Range 0 ~ 3)
ChannelNo: channel number designated to set (Range 0 ~ 6)
*phEvent: event handler array contains 7 handler for each card
in Windows interrupt system
*existCards: a return value to indicate how many cards are found
intFlag: enable or disable interrupt signal (Range 0~1)
intFactor: enable or disable interrupt for each type in each
bit:
bit0: Limit switch on
bit1: Emergency stop on
bit2: Home switch on
bit3: Index signal on
bit4: Encoder value compared
bit5: Timer interrupt
bit6: ADC pre-load value reached
54 • Function Library
(Windows Only)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-8136 and is the answer not in the manual?

Table of Contents