Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Does IMAQdx Get Image VI waste CPU time?


I'm working in a project involving vision acquistion from several firewire cameras and image processing in a real time target ( LabView RT 8.2 + Vision Libraries on a CVS). I'm quite concerned about improving the overall performance of the system.

I'd like to know how the IMAQdx Get Image VI works when  set to "Buffer Number Mode". The VI  "WAITS"  for the desired buffer number to continue. My question is wether IMAQdx Get Image VI wastes CPU time while waiting for this buffer number?.

Thanks in advance for sharing your knowledge.


0 Kudos
Message 1 of 2
(3,196 Views)
Hi Eblanco,
 
All waits in the IMAQdx (and IMAQ, for that matter) are implemented such that they do not waste CPU time. They simply yield the CPU to other tasks. Additionally, it should only wait if the requested image is not available (hence there is nothing to do) so this doesn't delay your image processing. Are you doing other things in parallel and not getting enough performance? Have you tried using the VI profiling utilities to see where you are spending most of your CPU time? Another more powerful technique is to use the Execution Trace Toolkit to see down at the thread and system level where the system is spending its time.
 
Hope this helps,
Eric
0 Kudos
Message 2 of 2
(3,182 Views)