LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 3
(2,185 Views)

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 Kudos
Message 2 of 3
(1,964 Views)

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 Kudos
Message 3 of 3
(1,953 Views)