LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

typecast 1D array as 2D?

Solved!
Go to solution

I have a set of VIs that accepts a 2D array as input.  In some special cases, that input array will be 1D instead of 2D.  Is there any way to typecast that 1D array as a 2D array, so that I don't have to write new VIs (or add case structures to the current VIs) for this special case?

 

Thanks,

 

Allan

0 Kudos
Message 1 of 3
(2,647 Views)
Solution
Accepted by topic author bracker
0 Kudos
Message 2 of 3
(2,642 Views)

You might also find the Reshape Array function to be helpful.

 

Lynn

0 Kudos
Message 3 of 3
(2,608 Views)