08-31-2023 03:30 PM
I have two identical clusters (there are many in the real vi I am developing) with change-value event defined on a ring in each cluster, two in total. Inside the event I am writing a string to indicate which cluster I am in. See attached vi.
I can combine all event conditions into one event conditions, but inside the event I want to get the label of the parent cluster so that I can write the appropriate string. Is there a way to get the reference/label of the parent cluster using the reference of the ring (which is passed to the event condition automatically)?
Thank you very much.
Girish
08-31-2023 04:02 PM
This feels very convoluted!
Can you explain the purpose of all this in simple terms.
(why is there a 10ms timeout event instead of an event for the stop button? Why is there is a 1s wait in the loop?)
08-31-2023 04:14 PM - edited 08-31-2023 04:15 PM
Maybe this can give you some ideas....
If you have "many" of the same clusters, maybe an array of clusters would be more scalable! (not shown).
08-31-2023 04:21 PM
Like this.
08-31-2023 04:25 PM - edited 08-31-2023 04:27 PM
@altenbach wrote:
If you have "many" of the same clusters, maybe an array of clusters would be more scalable! (not shown).
Here's how that could look like: