192
Function Library
time out time must be set more than 10ms to prevent the inaccur-
ancy of Windows timer.
_8168_get_cos_status
:
This function is used for getting the change of state status in one
card. Calling the status will clear the current status. It is not sug-
gested that this function is used during interrupt for COS functions.
@ Syntax
C/C++ (DOS, Windows)
I16 _8168_set_d_cos(I16 AxisNo, I16 Logic, I16
Enable);
I16 _8168_wait_d_cos(I16 AxisNo, I32 Time_Out);
I16 _8168_set_hd_cos(I16 AxisNo, I16 Logic, I16
Enable);
I16 _8168_wait_hd_cos(I16 AxisNo, I32 Time_Out);
U16 _8168_get_cos_status(I16 CardNo);
Visual Basic (Windows)
_8168_set_d_cos( ByVal AxisNo As Integer, ByVal
Logic As Integer, ByVal Enable As Integer)
As Integer
_8168_wait_d_cos(ByVal AxisNo As Integer, ByVal
Time_Out As Long) As Integer
_8168_set_hd_cos(ByVal AxisNo As Integer, ByVal
Logic As Integer, ByVal Enable As Integer)
As Interger
_8168_wait_hd_cos(ByVal AxisNo As Integer, ByVal
Time_Out As Long) As Integer
_8168_get_cos_status(ByVal CardNo As Integer) As
Integer
@ Argument
AxisNo
: axis number designated
Logic
: 0 for rising edge, 1 for falling edge
Enable
: 0 for disable, 1 for enable
Time_Out
: The minimum value is 10
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...