![](/profiles/wavemetrics/themes/wavemetrics/logo.png)
Saving Single Wave Values to Text File
![](/sites/www.wavemetrics.com/files/styles/thumbnail/public/default_images/Artboard%201_1.png)
kmaki1210
Mon, 06/18/2012 - 07:35 pm
I found that I could use the Save command seen below to save the entire waves to a delimited file. However, I only want the final point from each of these waves(they are 5000 points)
Save/J/W temperature_SS,FractionWid,FractionGB,temperature_ss_time,FractionBeta,FractionCol,FractionMart,FractionMass as "temperature_SS++.txt"
So, I tried using that command like this:
Save/J/W/A[=2] temperature_SS[4999],FractionWid[4999],FractionGB[4999],temperature_ss_time[4999],FractionBeta[4999],FractionCol[4999],FractionMart[4999],FractionMass[4999] as "temperature_SS++.txt"
I was thinking that this would only save the last point and when I run it for each file it will append the data to the same text file. When I try to run this command I get a syntax error.
Any advice on how to complete this? Also, a way to save the file name with each line in the text file would be nice but not necessary.
Thanks
Thanks
June 18, 2012 at 08:38 pm - Permalink