LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Index value when double clicked on an array

For the attached vi i when i double clicked on a selected index of the  array how to get that index value in the output

0 Kudos
Message 1 of 3
(2,658 Views)

Give this guy try.

 

You are using the mouse down, not the double click.  Not sure if that matters to you.  But what I ended up doing is take the Array Element Position (this is the position of the selected element), subtracting the position of the first element, and then dividing by the size of each element.  The remainder gave the element index.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,649 Views)

-deleted-

0 Kudos
Message 3 of 3
(2,648 Views)