10-16-2005 04:10 AM
10-16-2005 10:45 AM
You may have to go to the LAVA forum to get a good answer to this Q.
Without getting into scripting you may be able to do this under the right conditions.
1) First save the type specifier control as a type def and save it.
2) After ensuring the VI that uses the typedef (created in step #1) is not running use the code you have already to create the the type specifier control on the FP of a .ctl file.
3) save the new ctl as the name used in step #1
4) Open the VI that uses the type def and it should re-link to the new type.
I have used techniques like this to dynamically create enums for functional globals. It may work for you.
Ben