LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How I can get my waveform chart to reset every time the user pushes a button?

Solved!
Go to solution

My program takes in a DAQ input and displays this signal in a waveform chart continuously. I would like the previous values to be removed from the waveform chart display every time the user presses a button (a boolean toggle). Any ideas on how I can do this? I am relatively new to Labview and do not know where to begin in solving this problem.

0 Kudos
Message 1 of 5
(23,195 Views)

Have a look at this page.

---
CLA
0 Kudos
Message 2 of 5
(23,192 Views)
Solution
Accepted by topic author Laura121

There's a property node for that.  Put something like this in your UI loop, if you have one.

 

Example_VI_BD.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 5
(23,166 Views)

You can use History property node and wire an empty array to clear the data of chart.

 

Clear chart.png


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 4 of 5
(23,165 Views)

That worked, thanks, right click on block diagram icon of the chart, create/property node/ (bottom of drop down is the history data).

0 Kudos
Message 5 of 5
(18,391 Views)