LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to export entire chart history?

Solved!
Go to solution

I was reading the help ( http://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/customizing_graphs_and_charts/#Exporti...

on waveform charts and I came across this little bit: "For graphs and charts, you can export only data that is visible in the front panel window".

 

So I guess that means I can only right click->export the data that is visible on the chart. Is there any way to right click-> export all the data in the chart history? I would like to export all the data from the chart history without stopping the program.

0 Kudos
Message 1 of 6
(3,188 Views)
Solution
Accepted by topic author msiwk
There is a property node for the chart called History Data. You can use that. You can also use an App method to set Windows clipboard data. With these two nodes and a format into string you can program your vi to do what you want.
Message 2 of 6
(3,144 Views)

What if I have multiple charts from a dropdown menu? Will the history data node just hold values for the selected chart or for all the charts?

0 Kudos
Message 3 of 6
(3,114 Views)

The property node is only for the chart that is referenced.  But the history will include all of the plots that are in that chart.


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
Message 4 of 6
(3,109 Views)

 

But the history will include all of the plots that are in that chart.


 

Is there a way to have only one plot from the chart? 

0 Kudos
Message 5 of 6
(3,097 Views)

Nevermind, I figured out a solution.

 

I will get a history data node for each plot from the chart and select each one from a case structure. Thanks for your help!

0 Kudos
Message 6 of 6
(3,083 Views)