LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event mouse down in an array

Solved!
Go to solution

 Hi,

 

If I use the  the Event "Array" Mouse Down, Is there any way to know which element in the array was clicked??? 

 

Thanks.

Raymundo Cassani
Download All
0 Kudos
Message 1 of 5
(4,033 Views)

In the LAVA Code repository there is a piece of code that check that for you, it takes the current index position into account, size of the eleements.

Unfortunatly the website is currently down. Let me check later.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 5
(4,031 Views)

You can do something similar to what I did in the toc tac toe entry as described here. Let me know of you have any questions.

 

(your problem is simpler, because you only have one dimension :))

Message 3 of 5
(4,023 Views)
Solution
Accepted by topic author rCassani

Here's a link to the file I described.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 5
(3,990 Views)
Thanks a lot I found very useful the VI of LAVA.
Raymundo Cassani
0 Kudos
Message 5 of 5
(3,973 Views)