Do you need to acquire the names of all of the controls on the GUI VI?
Getting the names and storing them would only have to be performed once
during startup, so should not be a big performance loss to your program.
If you know what the name of the control is already you can get data from and set the data of a front panel control by name.
I have included a VI that I created that has two parts.
Just to be sure, I have included a loop to get the names of all controls on a VI's front panel. Is this the method that you use?
I've found no easier way to get the names of controls on a front panel.
The lower section of the block diagram shows getting data from a
control using the name of the control - you do not need a reference to
the control. You can use the method to set the control to put data on a
front panel as well. The downside? You have to know that name and the
data type of the control before you work with it.
Rob