04-08-2014 02:46 PM
I am adapting an earlier project to a new project and need to quickly "Edit Items" of a large control list - preferably a Type Def using scripting because normal VI can read but cannot write Strings[].
It should be almost trivial but I am just learning scripting. - ThanX!
04-08-2014 03:04 PM
You are right, you can write Strings[] with scripting. I can't write an example now but it is easy. something like this:
Open the control vi
Get a reference to the enum control (easy as it is the only control in the vi!)
Edit the strings as you suggest
Invoke the SaveInstrument method on the .ctl file
If you get stuck post what code you have and you will get help, scripting is fun!
Michael.