09-15-2011 06:48 PM
My bad. Your script work. I messed up when I was trying it.
09-16-2011 10:03 AM
@jyang72211 wrote:
Thanks for the script. I have one more related question. If I do a find and replace on a enum constant, can I have multiple criteria? Right now, when I do find, the only criteria is enum constant object. I want to find enum constant with the label "enum123".
No, the Find dialog doesn't have that capability. You could do that by modifying the VI I gave you so when you iterate through the controls you check to first see if it's an enum, and then check, for example, the item names. If they match what you're looking for, then that's a control that needs to be replaced.
09-16-2011 04:46 PM
Thanks, I will do that.