LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I figure out, (and control), the sampling rate of my IMAQ board using LabVIEW?

My IMAQ board is sampling at a certain rate and I do not know what it is... how do I figure this out using labVIEW? Also, how can I make sure that it is not waiting any time at all for sampling i.e. it is not waiting for any wait time functions or any of them other things that cause the program to slow. The reason that I want to do this is because the Kodak Imaging board that I am using seems to be delivering at a much higher rate and no my graph there are major gaps between each sample according to the time plot (for instance it goes from 178280 to 178290 all the way by 10's to 178340. But when the program is running continuously it has gaps of like 355 or so miliseconds I guess.
Maybe that is just the time that it takes for the program to refresh itself, I am not sure. where could I find where this missing information is going?

Thanks much,

Brian
0 Kudos
Message 1 of 2
(2,321 Views)
Brian,

Your IMAQ card should be sampling at the same speed of the camera, as long as your camera isn't exceeding the cards limits.

As for how many images you're acquiring in your program, it depends on how long it takes for you to finish one loop of your code. It sounds to me that you may have a lot of processing happening after each grab, therefore slowing down the system.

Try to comment out your processing (maybe with a case structure set to false) and output only your acquired images. See if that makes a difference. You might also try running this on a faster computer.

BB_Phil
0 Kudos
Message 2 of 2
(2,321 Views)