10-01-2021 12:10 PM
I swear this used to work on a Type Def, but it doesn't seem to now.
Selecting one and pressing Replace Selected or pressing Replace All just grays out the button and does nothing.
10-04-2021 07:42 AM
Try using a strict type def. Then anytime you make a change and save it it updates everywhere. While the type def is open and you have done something to it everywhere it is used it greys out until you save it.
Create the cluster, ring, etc. Right click and select "create type def."
Right click on it an select open type def. When it opens at the top click on the bar that says Type Def and select Strict Type Def. go to File->Save and you have a strict type def.
If you are using cluster and you add things to the cluster all of the unbundle by name continue to work when you add more stuff.
If you use cluster-to-array things will break or array-to-cluster things will break and you will have to update the number of elements. Lesson learned do not use those functions on strict type defs.
10-04-2021 09:31 AM - edited 10-04-2021 10:26 AM
@Tom_Powers wrote:
Try using a strict type def. Then anytime you make a change and save it it updates everywhere. While the type def is open and you have done something to it everywhere it is used it greys out until you save it.
Yeah, I know how to make and update a Type def. I wanted to replace a Type Def with a Type Def from a different project since that should have been faster than updating the old Type Def and would not effect code that still uses the old Type Def.
But that is all bedside the point as Find and Replace has a bug in LabVIEW 2021, bit I can't remember where to report bugs at. I swear there used to be a board for that...