LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spreadsheet waveform

hi,
 
i am sing a DAC card to output an AO and then read 8 AI (voltage against time).i have managed to show both the AO generated and the 8 AIs on a waveform graph.however,
i can't figure out how to save this data as an ASCII file so that i have 9 Y values (the one AO and the 8 AI voltage values) for every time value.i have tried exporting the file to a spreadsheet and saving the data as a text file, but there seems to be a problem connecting up the array terminals for these functions from the waveform that is generated.can anyone help with this?
 
stephen
0 Kudos
Message 1 of 7
(3,128 Views)
Use LabVIEW's built in Write To Measurement File Express VI located in the file pallet.  It will save the file as text (AKA ASCII) in LVM format.  Simple format that works well for storing and restoring data.  I am not a big fan of Express VIs but this one works well.
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Message 2 of 7
(3,114 Views)
hi,
 
how do i then read the .lvm file after the program has finnished?
0 Kudos
Message 3 of 7
(3,101 Views)
lvm files are ascii text- you can view and edit it in Word, Excel, Notepad, etc
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 4 of 7
(3,094 Views)

hi mathew,

ignore that last comment, i realise its just a plain text file which i can read in any text based software.thanks for the help, the vi works a treat.i was just wondering, in terms of programming how i could split up the individual components of the array from my measurements.ie. split up the the 10 components (timestamp starting from t=0, AO and 8AI) of the array and put them into a table.

thanks again,

stephen

0 Kudos
Message 5 of 7
(3,091 Views)
...the table would be in the program, so that i can keep track of the each individual AI/AO wrt time throughout the program.
 
thanks again,
 
stephen
0 Kudos
Message 6 of 7
(3,082 Views)
You are welcome.  FYI: Data is viewed easily in Excel if less than 64.000 lines.
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 7 of 7
(3,078 Views)