We are working with some proprietary subVIs (i.e. password-protected) that require a cluster of various elements going into them. One of the possible cluster element types is an array, which must contain the exact size (array length) that is necessary for the application in order for the subVI to work.
The problem is that the array lengths for many of these arrays have been changing as our project continues to progress. We have developed code to automatically generate a new typedef based upon a struct file, and it initializes arrays to the correct lengths, however the array lengths do not update in any of the typedefs that currently exist in the project. The only way I've been able to figure out how to do update the array sizes in the typedefs, is to delete and re-add every instance of the affected typedef in the project (which kind of defeats the whole purpose of using a typedef). This is becoming very cumbersome as we now have 100+ typedefs, and each one is used 5+ times in our code.
Anybody have any work arounds? Can I reinitialize all typedefs in a project to default values?
Note: I'm ideally looking for something that doesn't execute at run-time because this is code that is running on a RT target running Linux x64 which has various limitations.