From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.


Showing results for 
Search instead for 
Did you mean: 

invoke nodes for groups, should be simple!

Go to solution


I'm new to invoke nodes as of today and I need to reinit to default a large group of objects at the end of my VI. I don't want to set different invoke nodes for each one. Can I apply a refnum to a group of objects and how would I do so?


0 Kudos
Message 1 of 5
Accepted by topic author Curran919

I don't think there is any way to do exactly what you asked (group).  However you can create an array of references and put the reinit inside a for loop.



Message 2 of 5

In addition to Lynn's suggestion, there are some programatical ways to obtain an array of references, such as Controls[] for the VI FrontPanel or a cluster.



0 Kudos
Message 3 of 5

Indeed, I was having troubles making an array of references. I suppose I can't index a cluster through a loop either. Other than that, i don't think I understand you fully.


Okay, Success, thankyou.

0 Kudos
Message 4 of 5

You appear to have figured this out, but I will mention it in case others look at this thread. You can get the references of the controls in a cluster.  After you get the reference to the cluster, you use a property node on the cluster reference to get references to the controls within the cluster.  This can be repeated to any depth of embedded clusters.  Search the Forum for examples of doing this.



Message 5 of 5