LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
SteveP

Property node for index of array's cursor location

Status: Declined

Any idea that has received less than 9 kudos within 9 years after posting will be automatically declined.

A property node that provides the index(s) of the cursor location in an array would let us know on which element of an array a user had clicked.  That can be usefule for example to provide additional information replated to specific array value, such as using the array as a list of peaks on a graph.  Currently, the mouse down event provides Cord values but those are as pixels.  Similar information for tables would be useful.

 

4 Comments
JackDunaway
Trusted Enthusiast
Yes! Of course! Current method of arriving to element clicked is not a straightforward process!
tst
Knight of NI Knight of NI
Knight of NI

A simpler implementation would probably be a method which accepted the coords, similar to the method graphs have today.

 

Another alternative would be to ship a VI which accepts the reference and coords and returns the element. There are already such VIs available online, but it would be useful if one shipped with LabVIEW.


___________________
Try to take over the world!
JackDunaway
Trusted Enthusiast

I was about to make an Idea about this, but came across this old gem. Yes, tst, a "Coords to Index" method would be nice. Also, I would not be opposed to including it in the native data of events on the array that currently have Coords:

 

ArrayIndices.png 

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 9 kudos within 9 years after posting will be automatically declined.