09-23-2015 03:52 AM
Hello everybody! I want to make a subVI that handles arrays the same way no matter of their type (like Replace Array Subset for example). The problem is that I have to put a terminal with particular type and when I wire it with a different type it doesn't work. Is it possible to be made? Thank you in advance!
09-23-2015 03:55 AM
What you are asking for is 'generics' (if you search around on the ideas exchange and the LAVA forums you'll find lots of discussions) - unfortunately it isn't really possible in LabVIEW. The closest thing you can get (which is supported by LabVIEW) is Polymorphic VIs - you can create a series of VIs, where the most appropriate one is selected depending on the input wired (or manually selected from a drop-down).
09-23-2015 04:12 AM
Thank you for the answer! I hope there will be another solution in the future versions for now I will use the polymorphic VIs.