LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get array index by mouse click

Hi ,It is my first post,and please excuse me for my bad english.

My problem is: I want to Get the index array by mouse-click.With Array Property node IndexValue in read mode i can t to read the right index.I try to find a answer in this forum but i dont find a specific thread. Thanks a lot.

0 Kudos
Message 1 of 7
(10,939 Views)

 

 

If you do a search with "array index mouse" you will find this answer:

 

 

http://decibel.ni.com/content/docs/DOC-6406

0 Kudos
Message 2 of 7
(10,931 Views)
Message 3 of 7
(10,898 Views)

Ty at all guys!i have doneSmiley Wink

0 Kudos
Message 4 of 7
(10,868 Views)

If your need for the index is only to get the value of cell that was clicked on,

that can be done using Property Node ArrElem.

 

GetArrayValueFromMouseClick.png

 

 

Omar
Message 5 of 7
(10,858 Views)

Use the MGI Library: http://sine.ni.com/nips/cds/view/p/lang/hu/nid/209753

MGI Position to Array Index

mgi.PNG

 

 

This uses VI Scripting, but Master Bounds Rect Property available in Run-Time Engine: http://zone.ni.com/reference/en-XX/help/371361P-01/lvscript/gobject_master_bounds_rect/

Message 6 of 7
(7,067 Views)

This vi Very Helpful 

Thank for Sharing..

 

 

 

 

0 Kudos
Message 7 of 7
(4,282 Views)