Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5376

Problems with threads

$
0
0

Hi

we are using CVI 2012 and we use several threads in our application. Normally our application is running in a good way but from time to time we have a problem that a thread make our main application run slower. That means, for example, we have one thread which saves a picture to the hard disc. This is normally running fine but from time to time we see that the application nearly stops for a moment.

 

This is not normal. Normally a thread runs independent from the main application

 

To see when a thread is running and how long it needs we use a time function. That means, we the thread starts we get the current time and also we it stopps we get the time.

 

Start = Timer();

End = Timer();

Diff = End - Start;

 

Could this be a problem?

 

thanks

Oliver


Viewing all articles
Browse latest Browse all 5376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>