LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger button click programatically after a specified time

Solved!
Go to solution

Why did you take the capture out of the producer loop. That is NOT what I said to do. You decided to take an additional step that broke the basic capture. 

0 Kudos
Message 21 of 33
(1,252 Views)

How should I pass the image to the snap image screen?

0 Kudos
Message 22 of 33
(1,249 Views)
We are almost done unless you don't make crazy things like what you just did.
-Why you kept grab outside loop? (keep it inside only)
-Please disconnect the Obtain Queue name input(Please i have been telling the same from beginning why you connected Session out to this terminal??) and give proper name.
-The enqueing is proper and you don't need any wire to be connected from top loop and bottom loop (as already Dennis and myself told).
-Snap image should be connected to Dequeue element output.
-In producer loop, for case structure case selector use output elapsed time and keep it to 500ms.

-For your question, that is the beauty of queues. In enqueue you will send image and receive image at dequeue without any wires.
Thanks
uday
0 Kudos
Message 23 of 33
(1,216 Views)

I already made the changes you told me to, but I still can't get an image.

Please help me out.

Thanks in advance!

0 Kudos
Message 24 of 33
(1,209 Views)
Solution
Accepted by nando1988
Just two things. The only way to thank in forum is by giving kudoes and making the proper solution as marked solution.
-I didn't mention Wait(ms). i told you to keep elapsed time where is that??connect it to case selector input as suggested.
-Reduce wait(ms) time so that producer loop runs fast.

-You know what it is working for me here with those changes so hopefully V1.8 should be final 😛
Thanks
uday
Message 25 of 33
(1,202 Views)

You've got a false constant wired to the case statement so the image is not being written to the queue. Are you now getting a continuous stream?

0 Kudos
Message 26 of 33
(1,198 Views)

I reduced the wait time to 1, but I don't understand what do I have to connect to the case selector and where exactly is that.

 

0 Kudos
Message 27 of 33
(1,192 Views)
Right click in Block diagram, go to timing group. get Elapsed time there. You have used it in your version1.2.
Thanks
uday
0 Kudos
Message 28 of 33
(1,187 Views)

To which case selector should I connect the elapsed time to, to the producer or consumer loop case?

0 Kudos
Message 29 of 33
(1,181 Views)
Producer please 😛
Thanks
uday
0 Kudos
Message 30 of 33
(1,178 Views)