04-22-2008 11:24 AM
04-22-2008 11:33 AM
04-22-2008 11:34 AM
04-22-2008 11:38 AM
04-22-2008 11:40 AM
That will not return references to controls embedded inside of the those controls, which is what nrp is looking for.
@TWGomez wrote:
In the "Application Control" pallete get the "this vi ref" wired into a property node->Front Panel. Wire that reference into another proprety node and select Controls[]. That gives you an array of references for all of the controls, put that into a FOR loop with a property node inside with skip when tabbing selected and a flase wired into it.
04-22-2008 12:01 PM
04-22-2008 12:03 PM
03-15-2015 03:39 AM
Hi there,
hope helps the next, with the same problem...
http://digital.ni.com/public.nsf/allkb/D7A289CB44CD1EAB86256DC0007E4195
cheers chris
03-16-2015 12:33 AM - edited 03-16-2015 12:35 AM
This should do what you want:
https://lavag.org/files/file/28-get-reference-to-all-controls/
edit: just saw the date on OP, anyways solution above for future searches
03-16-2015 01:12 AM - edited 03-16-2015 01:26 AM
@Neil.Pate wrote:
...
Now the front panel has all kinds of nested tab structures etc. Is there a quick n easy way to get the references of *all* the front panel controls, regardless of whether they live inside a tab control or not.
......
You can use the Traverse for GObjects.vi (Application Control / VI Scripting Palette). It works.
Here is the the Context Help:
Searches a target for objects of a particular type and returns an array of references to those objects. The target can be a front panel, a block diagram, or any object that can contain other objects, such as a For Loop, a cluster, or a user-defined control. This VI also recursively finds objects nested within other container objects.