LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Traverse for Text

I want to find all text objects visible on a front panel.  The built-in "Traverse for GObjects.vi" doesn't find labels, captions, nor boolean texts.

Does anybody have something that already does this?

0 Kudos
Message 1 of 2
(209 Views)

The NI-provided Get GObject Label.vi can get you partway there, but you'll need to make a couple of copies/modifications of it to do everything you want. I just hacked this stuff together, so I'm sure there are some things that don't work properly (i.e., if caption and label are both visible for a control it will only return the caption, and I only added label functionality to controls as a proof of concept).

 

This is in LV2020 so let me know if you need an earlier version

 

DHerron_0-1718740611193.png

 

0 Kudos
Message 2 of 2
(141 Views)