12-02-2019 04:59 AM
Am I right, your plan is to change a strict typedef with the runtime version?
Are you sure that this is gonna work? If you change a typedef I think your VIs have to be recompiled which isn't working in the runtime environment.
Or is your plan to e.g. change individual elements of an array of clusters?
12-04-2019 07:17 AM
12-04-2019 07:26 AM
That doesn't seem like you are changing the typedef.
It seems you are just changing the value of the control that happens to be a typedef control.
12-04-2019 07:57 AM
And now for something completely different...
Another approach to launching VIs is to not use the call by reference node but rather...
Open a reference to the VI based on its path on disk
Use Invoke Node >>> Control Value >>> Set
After setting all of the inputs the way you want...
Use Invoke Node >>> Run VI
Using that approach lets you invoke VIs with diverse icon connectors. You need only know the names of the inputs you want to set and ensure you are passing the correct data type.
Yes, it is a bit more work (as was a lot of things in the old days when we had to make due stone knives and bear skins) but it is another approach that may help out.
Ben
12-04-2019 09:25 AM
Thank you Ben I will give it a try.
12-05-2019 02:30 AM
Yes I am changing the value of Control that is a typedef.