12-15-2013 10:44 AM
I'm trying to make an application that doesn't require the user to make a click on a button, in order for the action to occur. I need this action to occur every 500 ms, but the thing is I don't know how to do this programatically, since I'm new to labview. what I want to do is take a picture from my web cam every 500 ms, and in another windows, I want to capture the entire video. So I would have a live video stream on one side and a picture from that live stream on the other side. any examples will be greatly appreciated.
Thanks!
Solved! Go to Solution.
12-15-2013 12:09 PM
12-15-2013 12:45 PM
I already have an example, that captures video and an image through a button click, but now I want to modify that code, so that it captures an image after 500 ms.
I tried using a while loop and a timed loop inside of it, so that it is always running, and takes a picture every 500 ms. The thing is that if I do that, only 1 image is taken and the video freezes.
I also tried only using a timed loop, but the same thing happens.
Please tell me what can I do to fix this.
And if you could give me some code, I would be really thankful.
12-15-2013 12:53 PM
12-15-2013 01:04 PM
12-15-2013 05:22 PM
This is the example I'm using. The part that I modified, but with no success, is the one that has the timed loop. The problem I'm having is that I only get 1 image and the video freezes.
What I need is to keep watching a live video and for an image to be taken every 500 ms.
Please help me fix this.
Thanks in advance!
12-15-2013 05:45 PM
Having the timed loop is just silly. You don't understand LabVIEW and data flow. The inner loop just cycles continuously without getting a new capture. Your main while loop needs a Wait (ms) set for 500ms to capture at that rate. I don't have imaq installed at this point so I can't comment on the rest of the code.
12-15-2013 08:05 PM
How can I have a live video on 1 side and also take a picture of that video every 500 ms, with the same camera?
12-15-2013 08:51 PM
12-15-2013 11:36 PM