Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with displaying images at high speed

Hi,

 

I am very new to Labview but I have to use it for my project. The aim to is display different images on the monitor at very fast speed of about 50 to 60Hz. I am using the vision IMAQ function for my program. And the program works roughly like this:

 

IMAQ Create-> IMAQ Read File-> IMAQ WindDraw -> IMAQ Dispose after a short exposure time

 

This will run in a while loop with IMAQ Read File fetching new files to read from a folder.

 

The problem I faced is that when I set the speed at a fast rate(ie. short exposure time for each image) the image will not be able to follow the actual specified speed/exposure time. It refresh at a fast rate and later slows down gradually and reached a total stop at 1 moment. After a few seconds, the image will refresh again with high speed and reduce again.

 

So after that I opened up task manager and checked the CPU usage and realised that the CPU usage a lot, at about 80% from the normal 10-20%. Then it will increase to 100% CPU usage where that's the point the program stop and later drop back to around 80%. So I gathered that this has something to do with the CPU memory usage or something.

 

Can anyone help me on this?How can I avoid the problem on the intensive CPU usage as I do need the speed to be accurate and I do need the speed to be near to 60Hz. Thanks.

 

Cheers

Weixuan

0 Kudos
Message 1 of 1
(5,802 Views)