LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Program execution time increases over time

We use CVI2010 on Windows7 computers.  Applications are developed to test semiconductor devices.  Our application, a released executable, is accessed by several tester computers from a network location.   

 

At any given time, there can be 1 - 10 testers running the application.  The application is a test loop where the code provides stimulus to a device under test, then measures and criticizes the results.  The device is accepted or rejected based on the test results and this information is sent to a manipulator that readies the next device under test.  Some of the testers run without issue (having the expected test/program execution time) while one or two testers will see a test time increase over time.  The increase is not constant, some test times will be up to 15 seconds (expected time is 1 second) while most are 3 - 5 seconds.  Closing the program and restarting the application will temporarily resolve the problem. 

 

Other applications run fine and do not have a 'test time' creep.  A common function library is used, ProcessSystemEvents is called at various locations in the code

 

 Interestingly enough, running Chrome browser while the CVI application app is running reduces the long test time spikes.  The browser needs to be active window in Win7

 

Anyone out there experienced and solved a similar issue?

 

0 Kudos
Message 1 of 3
(2,110 Views)

I have a few questions. Are they the same computers every time that shows the time increase? Is the OS the same between the different computers? Do the computers have the same amount of memory? What does the CPU usages, and memory look like across the different computers? I found this previous forum post that seem to point to the way the computer is configured could be the problem.

0 Kudos
Message 2 of 3
(2,079 Views)

Thanks for helping.

- Issue is across various testers

- OS is the same on each computer and they all have the same amount of memory

- Have not looked at CPU usage across all testers yet.

 

0 Kudos
Message 3 of 3
(2,070 Views)