From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(877 Views)
Solution
Accepted by topic author 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
(862 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
(848 Views)