07-31-2020 12:46 PM
I believe that whenever I noticed an issue like this, it was due to a dependency conflict in my project.
I say "I believe" because I ran into this problem all of the time as a new developer, but see it less now. When this happens to you again, try expanding your dependencies in your project, and checking for conflicts. Right-click and choose "resolve conflict".
Either I resolved my problems by the method above, or by disconnecting the problematic control from the typedef, and then replacing it with the updated control.
09-10-2020 12:43 PM
Does anybody know how to get LabVIEW to automatically do the update process without forcing me to manually review and accept each instance individually?
I have a strict type def inside a second strict type def (cluster of clusters). These type defs are in the project root (outside all classes). Instances are contained in a number of classes.
When I add a control to the inner class, everything updates normally and automatically as you would expect. When I remove a control (even if it the one I just added!) all instances in all classes are grayed out and must be updated manually. Very annoying!
Andrew
09-10-2020 01:18 PM
Andrew,
I attempted to recreate the issue you described, adding and removing controls but saw no issue.
Are you adding/removing controls to the inner-most strict type def, or one of your classes?
Could you attach your project so hierarchy?
Attached is the example I used to attempt a recreation of your issue.
09-10-2020 08:18 PM
Hi Allison,
Thanks for the quick reply. I cannot attach my project as it has well over 1000 VIs. But I will look at your project and and see if I can reproduce what I am seeing in a more manageable project.
Andrew
12-22-2020 11:26 AM
Yes, very annoying behaviour.
For me it happens when modified (cluster elements reordered, deleted, etc) typedef is inside another typedef that is a compact (as icon) constant on the block diagram. Need to change constant to full view, right click modified typedef (only then the review and update is not gray), Approve all (ONLY FOR ONE VI!!!).
Am I missing something? Is it possible to open review window that applies to all loaded VIs?
For me it would be more convenient to disable this feature completely.
12-22-2020 01:30 PM
@Alexander_Sobolev wrote:
Yes, very annoying behaviour.
For me it happens when modified (cluster elements reordered, deleted, etc) typedef is inside another typedef that is a compact (as icon) constant on the block diagram. Need to change constant to full view, right click modified typedef (only then the review and update is not gray), Approve all (ONLY FOR ONE VI!!!).
Am I missing something? Is it possible to open review window that applies to all loaded VIs?
For me it would be more convenient to disable this feature completely.
LabVIEW has gotten pretty good at guessing what the new default values are, but I always welcome the opportunity to make sure the defaults are what I want them to be. In the days of yore, it was anybody's guess what the new default values were going to be. I'd rather rubber stamp a bunch of "natural" changes than not be notified that one default has changed in a weird way.