LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert data in the text file to table in DBL

Hi guys
 
I wanted to convert data in text file which are in multiple rows and columns in DBL format to a table to b seen in labview as DBL format.
 
I had tried looking and working at the example but in vain , i just cant produce anything
 
pls help. or write me a short example..thanks
0 Kudos
Message 1 of 30
(4,906 Views)
Are you dealing with a table or an array.  For an array, just use the Read spreadsheet file from the File I/O palette.
 
For a table,  you will have to convert the number to a string and setting the appropriate precision and width, then write the 2-D string array to the table.


Message Edited by Ravens Fan on 05-20-2008 11:54 PM
0 Kudos
Message 2 of 30
(4,897 Views)

Try this. Modify for different delimitor if necessary.



Message Edited by Dennis Knutson on 05-20-2008 09:55 PM
0 Kudos
Message 3 of 30
(4,895 Views)
Dennis,
 
This question may be a whole lot more complicated than it appears.  I just discovered this thread by the same poster.
 
Sean,  Is this the same problem as that thread or a new one?  If it is the same problem, please don't start a new thread with an even more generic question.  Otherwise you have just wasted our time.
0 Kudos
Message 4 of 30
(4,890 Views)
I just discovered that other thread as well. I have no idea what he's asking for.Smiley Mad
0 Kudos
Message 5 of 30
(4,888 Views)

almost same. but i save the file format into text file.

however even if i tried at txt file i still cant get what i want.

i get only a column of the table instead of the whole data in the text file.. plss help..

using fractional string and the table diagram.. how can achieve a 2D table with all data?

 

0 Kudos
Message 6 of 30
(4,881 Views)
my data stored in text file is stored in terms of table format but is spaced evenly
0 Kudos
Message 7 of 30
(4,877 Views)
Hi Sean,

I really miss an example of your "text file, stored in terms of table format but is spaced evenly". I couldn't find one here in this thread nor in the other.

It really would help to see what you're talking about... Just a small snippet would be ok!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 30
(4,868 Views)

this is my data.. pls help me represent all data in table format in labview.

By the way is table format same as array?

0 Kudos
Message 9 of 30
(4,866 Views)

Hi sean1985,

this works for your data. Smiley Happy

Mike

0 Kudos
Message 10 of 30
(4,862 Views)