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
Highlighted

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
(885 Views)
Highlighted

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
(883 Views)
Highlighted

@Mark Yedinak wrote:

Here you go.

 

1D to 2D.png


Or slightly simpler (transpose if needed):

 

 

 

😄

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 3 of 5
(872 Views)
Highlighted

Thank you Mark.

0 Kudos
Message 4 of 5
(850 Views)
Highlighted
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)


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 5 of 5
(839 Views)