LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting text string into correct columns

Greetings,
 
I am able to read data from a text file and to remove the comma for each data point using a While Loop, this part works. Now I need to acquire the first 0-9, 10-29, and then 30-49. 0-9 are columns, so under the first column is 0,10, and 30; the second column would be 1,11,31; etc. Does anyone know how to separate this so that I can plot the first column, the second column, etc?
 
Thank you for your help,
 
PIC
0 Kudos
Message 1 of 4
(2,812 Views)

PIC,

Depending on the form of your data, you may not need to do a lot of rigorous parsing work at all.  Look at Read From Spreadsheet File.vi, Reshape Array.vi, and the Index Array.vi to extract your columns.

-cb

0 Kudos
Message 2 of 4
(2,807 Views)
i think this is what you want........Smiley Wink
Download All
0 Kudos
Message 3 of 4
(2,804 Views)

Thank you for your suggestion. It has lead me to other avenues to explore.

Thanks again

0 Kudos
Message 4 of 4
(2,765 Views)