ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass n-dimensional array to subVI

I have a SubVI with one input array, but I don't now the dimension of this array in advance. It can be 2D or 3D. How should I make this SubVI acceptable for different array dimension.
My only idea is do this through reference -> property VALUE... but it looks not very clear.

Thanks
LV 2011, Win7
0 Kudos
Message 1 of 3
(2,595 Views)
Have you considered a polymorphic VI?

-Saverio
Message 2 of 3
(2,591 Views)
Thank you very much for your quick answer, I never heard about polymorfic VIs, but it works wonderful!!! It solves my problem.
LV 2011, Win7
0 Kudos
Message 3 of 3
(2,583 Views)