03-11-2014 09:53 PM
Hi,
I have a newbie question. I have a txt file with a series of numbers delimited by commas I have been trying to convert them to a 1d array of numbers precision is 6.
03-11-2014 09:59 PM - edited 03-11-2014 10:01 PM
Have a look at the "Read from Spreadsheet File" VI
03-12-2014 05:58 AM
You really have two options here:
1) Just use the Read Spreadsheet File.vi, be sure to set the delimiter to be a comma.
2) Do what the above mentioned VI does (just will less overhead and the ability to pass on errors) and just read the entire text file and then use Spreadsheet String To Array. For the SSTA, you need to set the delimiter to a comma, set the format to %f, and wire in a 1D Array of double to the type.