LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Columns to rows

Hi,
I my VI i want to transform 3 column values into row values and appending the new values to it
Each row consists of 7 maximum and remaining values should be appended in the next row.
 
For more clarification about my problem please go through the word document and to look up on logic see the VI attachments.
 
Download All
0 Kudos
Message 1 of 4
(2,938 Views)
Hi Padhmavath,

when the row number is fixed you can use "interleave array" to simplify your vi Smiley Wink No need for big loops!



Message Edited by GerdW on 12-17-2007 03:18 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Download All
Message 2 of 4
(2,925 Views)
Hi Padmavathi.B,

There are also two VIs that might prove useful: Transpose 2D Array and Insert Into Array. You can use the Transpose 2D Array to change your columns to rows, and you can append data to the rows using the Insert Into Array VI.
Ryan D.
District Sales Manager for Boston & Northern New England
National Instruments
0 Kudos
Message 3 of 4
(2,887 Views)

Hi Gerd,

Thank u very much.

Code is working and my problem has solved

Thank a lot.

Thanks Ryan for ur reply

Regards,

Padmavathi B

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