LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3 Waveform Chart to a Single Excel but in Different Spreadsheet

I wanted my waveform chart to export the data to excel which I can easily do by right clicking the chart and export to excel. But I have 3 waveform chart and I want to export it to a single excel file but in different spread sheet. How do I do that with the same result with the conventional "right click method and export"?

0 Kudos
Message 1 of 2
(2,115 Views)

For this you probably will need to add some code to your VI to do this instead of right clicking on the chart. You can use the VIs located in the Programming>Report Generation>Excel Specific pane which has tons of stuff for that.

 

Attached is an example of a basic VI that populates three waveform charts with random data and creates an excel spreadsheet with each chart's data input into a different workbook. This is rough and you can add a lot more functionality if you want depending on your needs. Just take references to all your charts and put them into an array and feed into the for loop.

 

(Also there are probably better/cleaner ways to do it but this is the best I've got 😛 )

 

 

0 Kudos
Message 2 of 2
(2,090 Views)