LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I export a waveform chart and user input information (text String) into a single .csv file?

Solved!
Go to solution

First off, please forgive my ignorance. I new to labview.

 

I would like to create a .csv (or any other excel document) file that has the user input (Date/time, Test Title, Operator, and Test Sample) at the top of a spreadsheet and then the waveform graph data in the same sheet.

0 Kudos
Message 1 of 9
(2,957 Views)

Try this:

csv.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 9
(2,955 Views)

Thank you for the quick responce. I am trying to build what you have sent, but I can not find the second array function immediately before the write to spreadsheet. What is it call so that I can search for it?

0 Kudos
Message 3 of 9
(2,949 Views)

You can save this file to your computer and drag it to a block diagram.

The functions are Number to fractional string & build array.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 9
(2,946 Views)

I'm sorry. I don't see a file. All I see is a .png image.

0 Kudos
Message 5 of 9
(2,943 Views)

Sorry, you can drag a png file in to a block diagram.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 6 of 9
(2,929 Views)

Ah, I see how you are controlling the spreadsheet. However, this setup is only saving one value from the chart and not all the values. I would like to save all the data from the waveform chart. (ie. seconds, voltage)

 

When I drag the .png into my block diagram I just see a comment with the image address.

0 Kudos
Message 7 of 9
(2,925 Views)
Solution
Accepted by topic author mike46060

You need to save the png file to your pc and then drag it to your block diagram.

As the waveform is periodic, you just need the t0 and dt, but if you prefer to have all the points saved, you could try something like this.

csv_edited.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 8 of 9
(2,919 Views)

Ah, I see now. Thank you so much for the help. Sorry for the .png confusion.

0 Kudos
Message 9 of 9
(2,915 Views)