11-03-2009 06:34 PM
Hi
I want to convert the txt file to array.
I try but only open the file (see the attach LV).
My question, how can I remove the space (if number of space is unkonw) and make it an array or 3 array (1D)
Please help me
thanks
11-03-2009 08:33 PM - edited 11-03-2009 08:35 PM
There are a ton of ways to do this. I realized very quickly how large your datafile is, and I think this method is one of the quickest ways to parse your data file. This assumes there are always 3 columns of data in the file and that the number of rows in a file is not known prior to reading in the file. If utilizing the snippet directly, I had to cut down the number of elements saved as default in the text string in order to upload the snippet.
Good luck,
Paul
When converting the selection to a snippet, it made the local variable a value property node plus required reference. If you are not using the snippet directly, in the disable case is your file read to the text string indicator.