LabWindows/CVI

取消
顯示結果 
搜尋替代 
您的意思是: 

CVI: Delay time is twice than should be

Hi,

I use CVI 2015.

I have an Automatic tester wrote in CVI.

Recently I noticed that when i use in script that my program runs, a delay (for example 5 seconds), the delay time is bigger, and can be 13 seconds.

I ran an older version of the Tester application, and the delay time is also 13 seconds.

Do you have an idea about this? 

Recently we moved fro PCs run WIN7 to WIN10, maybe it's related?

Thanks in advance, 

 

0 積分
1 條訊息(共 3 條)
2,245 檢視

What code do you use for the delay ? The Delay() function ? A Timer callback ? How busy is your program ? How busy is the rest of the CPU ? I could recommend using async timers, but I feel that some more info is needed first.

0 積分
2 條訊息(共 3 條)
2,024 檢視

Hi gdargaud,

I manged to understand the problem.

In the script I used there were extra characters that caused the delay.

Thank you for your efforts.

0 積分
3 條訊息(共 3 條)
2,013 檢視