LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find and replace

Solved!
Go to solution

My bad.  Your script work.  I messed up when I was trying it.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 11 of 13
(408 Views)

@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.

Message 12 of 13
(400 Views)

Thanks, I will do that.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 13 of 13
(391 Views)