LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i save a graph for a specific length of time

Solved!
Go to solution

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

Regards
Asad Tirmizi
Design Engineer
Institute of Avionics and Aeronautics

" Its never too late to be, what u want to be"
Using LabVIEW 8.2
0 Kudos
Message 1 of 4
(2,578 Views)
Solution
Accepted by topic author Asad_Tirmizi

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.

Richard






0 Kudos
Message 2 of 4
(2,564 Views)

charts and graphs do have the export to excel method

toxl.png


"Should be" isn't "Is" -Jay
Message 3 of 4
(2,559 Views)

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).

Richard






0 Kudos
Message 4 of 4
(2,548 Views)