Function Library
189
duration equal to the function’s delay time parameter. The mini-
mum delay time is 0.1ms.
_8168_delay_time_mt
:
This function is used to pause the program for a specific amount of
time. It will not consume CPU time under Windows by using
WaitForSingleObject
(). Users must pass a normally stopped
event of this axis into this function. It will occupy one axis as a
motion axis. Once it is called, the axis will start a dummy move-
ment with a duration equal to the function’s delay time parameter.
The minimum delay time is 0.1ms. Notice that time Timeout_ms
parameter is for
WaitForSingleObject
(). Please don’t use a
value smaller than 10ms because of the inaccurancy of Windows
timer.
@ Syntax
C/C++ (Windows)
I16 _8168_set_h_timer(I16 CardNo, I32
T_base_Mulx, I16 Enable);
I16 _8168_h_timer(I16 CardNo);
I16 _8168_ssleep(I16 CardNo, I16 timer_no, I32
sleep_time_mulx);
I16 _8168_delay_time_mt(I16 AxisNo, F64
miniSecond, I32 Timeout_ms, HANDLE
waitEvent);
I16 _8168_delay_time(I16 AxisNo, F64 miniSecond);
Visual Basic (Windows)
B_8168_set_h_timer (ByVal CardNo As Integer,
ByVal T_base_Mulx As Long, ByVal Enable As
Integer) As Integer
B_8168_h_timer (ByVal CardNo As Integer) As Long
B_8168_ssleep(ByVal CardNo As Integer, ByVal
timer_no As Integer, ByVal sleep_time_mulx
As Long) As Interger
B_8168_delay_time_mt(ByVal AxisNo As Integer,
ByVal miniSecond As Double, ByVal Timeout_ms
As Long, waitEvent As Long) As Integer
B_8168_delay_time(ByVal AxisNo As Integer, ByVal
miniSecond As Double) As Integer
Содержание cPCI-8168
Страница 4: ......
Страница 10: ...vi List of Figures...
Страница 29: ...Installation 19 2 9 Overview of CN3 CN6...
Страница 31: ...Installation 21 2 11 Switch Setting...
Страница 124: ...114 Function Library Src Counter source Return Code ERR_NoError Value Meaning 0 External Feedback 1 Command pulse...
Страница 134: ...124 Function Library Return Code ERR_NoError ERR_SpeedError ERR_PChangeSlowDownPointError ERR_MoveRatioError...
Страница 155: ...Function Library 145 12 At FH speed maximum velocity 13 In deceleration 14 Waiting for INP signal 15 Reserved...
Страница 204: ...194 Function Library...