LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

video scrub bar

Solved!
Go to solution

A quick way would be to put everything in the timeout case of an event structure. When you want the video to play make the timeout = 0. When you want it to be paused set the timeout to -1.

0 Kudos
Message 11 of 13
(947 Views)
Solution
Accepted by Grasshoper

Another quick way would be to link the Play/Pause button to the Increment node you have in there. Put a Case Structure around the Increment. If Play/Pause button is True, increment. If Play/Pause button is False, pass same value through.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


Message 12 of 13
(932 Views)

I like the case structure around the increment node. Keep it simple. Always a good idea. Just a note to anyone who may find this after: It might be common sense to you but it took me a second to realize this so I'm adding it here... The mechanical action of the pause button must be a switch, not a latch.

0 Kudos
Message 13 of 13
(918 Views)