LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Identify which array index and cluster element has been clicked on array of clusters

Solved!
Go to solution

Hi,

I am getting brain overload with dynamic events and references and property nodes etc.

 

I am trying to identify the array index and cluster element which has been clicked on array of clusters

 

This gives me the element name:

What is index and element clicked.PNG

Is that sensible?  How do I get the index?

 

Thanks,

Paul

 

 

0 Kudos
Message 1 of 3
(3,185 Views)
Solution
Accepted by topic author pgaastra

Hi,

 

Download the VI in this link (aslo attached).  It gives you the index of the array item you clicked. Hope it will help you.

Regards,
Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved;)) 

Message 2 of 3
(3,177 Views)

Thanks Nitz,

 

I did come across the "work it out from coordinates" method but thought it sounded too complicated for such a seemngly trival thing - but it must be the only way.  Later on  I did think of adding something like an extra element in the cluster with the index in it called index.  Then I could just get the value.index

 

I downloaded the VI and had a little play and it works well without me even trying to understand the details.

0 Kudos
Message 3 of 3
(3,161 Views)