Ok...this is getting complicated, but if I can solve this problem it will greatly simplify a number of programming projects that I'm working on so I need someones help :P.
What I have is a mechanical diagram of a high pressure system that I'm developing software for that is previously posted and described. The diagram is contained within a cluster and within that cluster are these "control clusters" that contain two LEDs, a toggle switch, and a reference using a menu ring. Also contained in this diagram cluster are numeric "indicators" (i use the word in "" because it is actually a control cluster due to the functionality of the toggle switches).
As previously discussed, I want to set the Strings[] property of the menu rings within these control cluster progmatically set. This can be accomplished through linking. However, since there is a "collection" of these within this diagram cluster what I would really like to be able to do is set all the Strings[] of the menu rings to the same collection of strings by somehow looping through an array of references to each menu ring and setting the strings[] property in a loop.
I think that this should be possible, but I'm loss as to how exactly.
Attached is an image of a subVI I wrote that takes the Controls[] reference of the diagram cluster and outputs an array of "control clusters" while ignoring the numeric "indicators."
I think my desired algorithm goes something like:
* Get an array of references to each control in the diagram cluster.
* Process the array so that I only have an array of "control cluster" references.
* Obtain an array of "menu rings" references for each "control cluster" reference.
* Loop through the "menu rings" references setting the Strings[] property for each reference.
Sounds complicated but if I solve this one, it will greatly simplify maintainability of a lot of systems that I work with.
Thanks for all your input!
-Nic