In 2014, when you update a type definition (like an enum) and it can't automatically update all the instances of the type def, LabVIEW prompts the user to modify each instance of the change. This is a great feature. Can we apply the same treatment to subVIs?
Example:
Let's say you have a subVI:
And then you switch or edit the terminals. Currently, LabVIEW assumes that any changes to the subVI did not change the location of the connector terminal and silently updates the caller. This could cause a bug if the caller developer doesn't know about the incoming change. Instead, LabVIEW break the caller and allow the user to bring up dialog box for approving the change to each instance of the subVI. The dialog box should be similar to the typedef change dialog showing the user a preview of the end result of the change and also allowing the user to make manual changes to the wiring. To facilitate this wiring, the dialog could present a flat sequence structure around the subVI. The dialog should initially suggest wiring that would follow the rename. That is, if wire A was supposed to connect to beans, and there is a new beans terminal somewhere else, connect wire A to the new beans terminal. If there is ambiguity, leave the connection disconnected between the flat sequence structure and the subVI.
Example dialog:
The user can then approve the changes applying them to the subVI instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.