09-23-2018 04:50 PM
I've encountered this several times, and have been able to recover from it through a (haphazard) combination of controls replacements, applying typedef changes, restarts, etc., but haven't figured out the root cause...
When the arrow breaks due to a "Type Definition 'something': LabVIEW cannot update from type definition without incorrectly preserving default values", most of the time this is simple enough to fix (right click the control or indicator, click "Review and Update from Typedef", click "Approve All", then go back and fix default values, if needed). However, sometimes "Review and Update from Typedef" is grayed out.
Under what conditions does this happen? When this does occur (for me, anyway), I'm usually replacing controls in a cluster typedef. Some other odd symptoms I see when this happens is that I either can't create a constant from, say, an unbundle by name, or, when I create a constant from a bundle by name, the constant is created and the wire is broken.
And, of course, what is the best way to recover from this (preferably not the haphazard key and mouse mashing I described in my first paragraph)?
Thanks,
Jim
09-24-2018 06:30 AM
@IrishJimJitsu wrote:
I've encountered this several times, and have been able to recover from it through a (haphazard) combination of controls replacements, applying typedef changes, restarts, etc., but haven't figured out the root cause...
When the arrow breaks due to a "Type Definition 'something': LabVIEW cannot update from type definition without incorrectly preserving default values", most of the time this is simple enough to fix (right click the control or indicator, click "Review and Update from Typedef", click "Approve All", then go back and fix default values, if needed). However, sometimes "Review and Update from Typedef" is grayed out.
Under what conditions does this happen? When this does occur (for me, anyway), I'm usually replacing controls in a cluster typedef. Some other odd symptoms I see when this happens is that I either can't create a constant from, say, an unbundle by name, or, when I create a constant from a bundle by name, the constant is created and the wire is broken.
And, of course, what is the best way to recover from this (preferably not the haphazard key and mouse mashing I described in my first paragraph)?
Thanks,
Jim
It might help you
http://zone.ni.com/reference/en-XX/help/371361P-01/lvdialog/review_update_typedef/
09-24-2018 06:51 AM
That article describes the review and update from typedef screen, but nothing about why you might not be able to access it...
09-24-2018 09:33 AM
Is it possible that the typedef is still open? You need to make sure you save and close the typedef.
09-24-2018 09:38 AM
True, it can happen then. But what about the not so obvious cases, like when you've closed out everything, reopen the problem VI's and it still persists?
06-06-2019 09:57 AM
I have the exact same problem!
03-10-2020 04:25 AM
Maybe your change doesn't require an update. For example is you change the name of a control you will require a require an update but if you ad a new variable at the end, maybe not?
03-10-2020 06:22 AM
I think this might happen if it's referring to a typedef within a strict typedef. Like it can't reach inside the strict typedef to get to the one that needs updating.
07-23-2020 07:24 AM
I had the same problem when I changed something inside a cluster control Type Def (non strict). All VIs except one updated automatically. When I opened the problematic VI the Type Def, like happened to IrishJimJitsu, the "Review and Update from Type Def" option was grayed out. The only solution was a workaround, replacing the control by itself (Replace -> Select a control... -> browse and select the Type Def control file.
07-23-2020 07:51 AM - edited 07-23-2020 07:54 AM
@Manzolli wrote:
I had the same problem when I changed something inside a cluster control Type Def (non strict). All VIs except one updated automatically. When I opened the problematic VI the Type Def, like happened to IrishJimJitsu, the "Review and Update from Type Def" option was grayed out. The only solution was a workaround, replacing the control by itself (Replace -> Select a control... -> browse and select the Type Def control file.
I never saw an issue like this that I haven't resolved by opening the original typedef and updating it. Very strange.