LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision acquisition + web cam + fps problem


I want to make an image processing by the help of labview vision. Therefore, i am using "lenovo easy camera".

Normally, i can get 30 fps from my web cam, but this value is decreasing to 8 fps while using labview. What could be wrong with my vi? Can you help me?

 

Thanks

 

 

0 Kudos
Message 1 of 2
(2,066 Views)

Hi sfh1, 

 

It looks like you are doing some image processing inside the same loop that you are acquiring.  Any additional processing that you put in acquisition loop will cause the acquisition to slow down.  It might be useful to benchmark the different pieces of code inside your loop to see which part is causing the largest slowdown.  Here is another forum post from tst that illustrates how to benchmark (test the execution speed):

 

Community Nugget 05/27/2009

http://forums.ni.com/t5/LabVIEW/Community-Nugget-05-27-2009/m-p/1137228?jump=true

 

The speed of the analysis/processing code will also depend on the power of your computer, so keep that in mind!

0 Kudos
Message 2 of 2
(2,028 Views)