11-15-2011 06:25 PM
Dear All,
I am using a magnetic field sensor on a mine detector. Lets say the minedetector sweeps the sector for 10 secs. i want your help on the following
1) how do i save the waveform chart for the whole ten sec. All i know is that i came across an example where i can save the chart at a specific point as a jpg. But that example is also for a graph. for the chart i suppose we need to change the array in some way.
2) If i save the value of magnetic field obtained at every sample in an array, can i save it as an excel file. how do i do that.
Best regards
Solved! Go to Solution.
11-16-2011 08:53 AM - edited 11-16-2011 08:55 AM
Whenever I'm asked to reproduce chart data, I use Excel. In other words, your #2. The charts are graphical items floating along on the screen. Once they are gone, they are gone. You could save the chart to jpg everytime the chart gets full, then string it together later, but why? The data are the data, not the chart.
The easiest way to save an array for Excel is to simply write the data to a text file, and have LabVIEW save the file as a *.csv file. This file can then be directly opened in Excel, and then plotted.
The other method would be to have LabVIEW save directly to an Excel worksheet. There are lots of examples of that on the forum.
11-16-2011 09:13 AM
charts and graphs do have the export to excel method
11-16-2011 02:08 PM
Jeff,
That feature just exports the current data in the chart. ?? It's not a historic dump. (ok, there's a joke somewhere there, but this is a family place).