Clearing the Data on Graphs and Charts

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Complete the following steps to clear the data on a graph or chart manually.

  1. Run a VI that is generating data and displaying that data on a graph or chart.
  2. Right-click the graph or chart in a running VI and select Clear Graph or Clear Chart from the shortcut menu, respectively. LabVIEW clears the data on the graph or chart. Select Data Operations»Clear Graph or Data Operations»Clear Chart from the shortcut menu, respectively, in a VI that has completed running.

You also can clear graphs and charts automatically each time you run or call a VI.

You also can use the History Data property to clear a chart programmatically.

Refer to the Clearing Waveform Charts VI in the labview\examples\Controls and Indicators\Graphs and Charts\Waveform Graphs and Charts directory for an example of clearing graphs and charts programmatically.

WAS THIS ARTICLE HELPFUL?

Not Helpful