From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I convert 1 D array to a 2 D array.

Solved!
Go to solution

I have a 1-D array that I want to input into an Excel Template.  How do I convert it into a 2-D array so I can input it to Excel Easy Table.vi?

0 Kudos
Message 1 of 5
(2,889 Views)

Here you go.

 

1D to 2D.png



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 5
(2,887 Views)

@Mark Yedinak wrote:

Here you go.

 

1D to 2D.png


Or slightly simpler (transpose if needed):

 

 

 

😄

 

0 Kudos
Message 3 of 5
(2,876 Views)

Thank you Mark.

0 Kudos
Message 4 of 5
(2,854 Views)
Solution
Accepted by Brad_Henry

Make sure to verify correct operation. Mark's solution adds another row of zeroes and I am not sure if this is desirable here. (see also)

Message 5 of 5
(2,843 Views)