05-14-2017 01:22 AM
Hi,
Please see my vi. what is wrong?
when I run the vi, it's seems good but fps is to low and when I stop from button, I have an error.
My ideal is it: run and see motion, when I press a button, the image of this moment save to my target. Then vi can be stop.
(It's used the built-in camera on my laptop)
Please guide and help me,
Thank you all.
05-14-2017 02:42 PM
There are multiple things wrong with your VI. The key Principle of LabVIEW is Data Flow -- a function will run when all of its inputs are satisfied. Look at your While Loop (which has the Grab) and your Snap Function. Which executes first? Note that there is no "sequencing" between these, so the Correct Answer is "You can't tell, either could execute first". Note that you also have no idea what Image will be in that Image Buffer. Finally, you haven't configured the Grab to take data continuously -- there's another Configure function (which, unfortunately, has almost the same icon) that you need to use.
Hmm -- I was going to suggest you look at an appropriate LabVIEW Example, but in LabVIEW 2016, simple Grab-and-View doesn't seem to be covered ...
Bob Schor
05-15-2017 12:35 AM