LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving 2D array values using a while loop

Hello everyone,

 

I have 1D (80x1) and 2D (80x18) string arrays in which I want to save the values in a text file.  I'm having trouble indexing all 80 rows of each of the arrays to save their values.  How am I supposed to correctly use a while loop here?  Any help would be appreciated.

 

I attached the VI with a few notes in it.  VI was written with LabVIEW 8.2

 

Thanks!

 

-noviceLabVIEWuser

0 Kudos
Message 1 of 4
(3,244 Views)

Your code so far does not make a lot of sense....

 

Please add some fake data (e.g. 8x1 and 8x4 arrays) and tell us what kind of output you want.

 

(easiest would be to enter the data into the controls, then make current values default before saving. Attach again.

0 Kudos
Message 2 of 4
(3,236 Views)

sorry if it wasn't clear altenbach.  I revised the VI to have default values for my array.  I also decreased the size of the array so they're more manageable (from 80x1 and 80x18 changed to 5x1 and 5x6 respectively).

 

My ultimate goal is to save each text line onto a tab delimited file and repeat until all array indeces are read.

 

I hope that makes more sense.

 

Thanks

 

-noviceLabVIEWuser

0 Kudos
Message 3 of 4
(3,232 Views)

See if this can give you some ideas.

 

 

0 Kudos
Message 4 of 4
(3,223 Views)