04-15-2016 11:11 AM
I scripted a vi that has a for loop with a vi inside it. How do I script the array indicator outside the loop and wire it?
Solved! Go to Solution.
04-15-2016 12:21 PM
I would be interested to know if there was a better way to create a numeric array, but I created a void array and then created a numeic control with the void array as the owning object. Once you have array reference and subVI reference, get references to the terminals and use the Connect Wire method. The method works like you were using the wiring tool and selected the two terminals so the wire will be there but there is a possibility that the wire is broken.
This is what I came up with.
04-15-2016 01:45 PM
Awesome...! That worked just fine. Additionally I did have to use "Adapt to Source" node since the output from my vi was an enum TypeDef. Thanks