05-07-2015 04:18 PM
Hi,
Is there any easy and fast possibilities to save datas to txt from labview?
Thank you,
05-07-2015 04:45 PM
I think what you are looking for is Write to Spreadsheet File.vi. If you use a comma as your delimiter, and save as *.csv, Excel will open the file.
You can also use a combination of Array to Spreadsheet String and Write to Text File. One extra VI but you have a little more control... and it doesn't have a stupid general error handler embedded in it that doesn't allow you to deal with errors yourself.
05-07-2015 06:12 PM
If your data are already formatted as strings, LabVIEW's Write Text File (and Read Text File) should do what you need. Look at the Help for these functions, and also look at the Examples. Then try writing what you want to do, testing it, and come back if your code doesn't work. If you do come back, be sure to (a) post your code, (b) explain what you are trying to do, and, if possible (c) give us an example of what you want for an output file.
BS
05-08-2015 09:02 AM - edited 05-08-2015 09:04 AM
One of my pet peeves. "Data" is already the plural of "datum." I guess it's like walking around with a piece of toilet paper stuck on the heel of your shoe. It's not embarrassing until someone points it out... 😉