LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pause the waveform chart display by a boolean control?

I want to dislay data point by point through a waveform chart and pause it by a boolean control named pause. If it is pressed, the waveform chart will pause displaying and will continue when it is repressed. How to realize tjhe above function?
0 Kudos
Message 1 of 5
(3,480 Views)
Hi,
Is this what you need?
0 Kudos
Message 2 of 5
(3,480 Views)
Put a case statement around your acquisition/chart code and wire the control to it. It's easiest to have the mechanical action to Switch When Pressed and have the Boolean text say Pause in one state and Resume in the other state but if you want a momentary acting switch, you can add some logic with a shift register. Here's a simple example in LV 6. You should also look at the pause and resume state machine example available here.
0 Kudos
Message 3 of 5
(3,480 Views)
Salutations~

I believe the quickest way to do this is to put the Chart inside a case structure, and wire the selector to a boolean control. You can choose the "behavior" of the control on the front panel by right clicking it and selecting the MECHANICAL action. You can choose the PUSH ON/PUSH OFF to simulate your desired behavior.

Good Luck!

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 4 of 5
(3,480 Views)
Thank you!
0 Kudos
Message 5 of 5
(3,480 Views)