06-12-2018 01:40 PM
I use Type Def Enum controls frequency, and share them across many code modules. Whenever I update the control, by adding a new selection value, TestStand forces me to update every Module I have using this Type Def. I generally do this by clicking on the Red exclamation point.
Questions:
Is there a Global way to do this rather than click on each step and clicking the exclamation point?
Is there a better way to use the Type def such that this doesn't happen?
Thanks
06-12-2018 04:14 PM
Tools>>Update VI Calls...
There is not a better way. That is why they are type defs because you should only need to update in one location. Well....technically once in each programming language.
06-13-2018 08:40 AM
Such issue is always a pain with TS.
Indeed you use the tool to update VI calls.
Another way is to create a step types ca;lling your VIs as PostStep. PostStep are called 'on the fly' and their prototypes are not checked in edition. So if your LV typedef matches your TS Data Type you should not have to update your VIs calls.
However there are several cons to this method...