LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I reset a waveform chart when I switch from one node to another?

Solved!
Go to solution
How can I reset a waveform chart when I switch from one node to another? Right now when I switch nodes it jumps to the position of the second node and continues on. I would like it to clear out the previous node before It starts plotting the new node.
0 Kudos
Message 1 of 4
(2,624 Views)

Create a property node of the chart.  What you are looking for is History Data (should be at the bottom of the select list).  Wire an empty array to this property.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,622 Views)

When I did this it constantly resets the waveform chart. What controls when this is executed?

0 Kudos
Message 3 of 4
(2,604 Views)
Solution
Accepted by topic author grimm1099

It happens whenever that part of your code is ran.  Did you put it inside of a loop?  Did you program specific instances when the chart should be reset?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,595 Views)