LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sorting arrays in a text file

Hi,

 

I have a data in for loop  and all my data is written into single column.I would like to to sort this data into different column as shown below. Could you please help me to solve this problem.

I have attached an example vi

 

I am getting data in this way

t         data

0.11    200

0.12   300

0.13   400

0.35   200

0.36   300

0.37   400  and I would like my text file to look like the below form

 

t        data1     t        data2     t        data3

0.11   200      0.12 300        0.13    400

0.35  200       0.36  300      0.37  400

0 Kudos
Message 1 of 2
(2,855 Views)

A little fun with Reshape Array should do the job for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 2
(2,825 Views)