LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

edit array element value without using keyboard

Solved!
Go to solution

I have a control array on my front panel, say 1D, 10 elements.

 

In addition, this front panel is to be used with a touch screen monitor, so I have a keyboard subvi that should be called when I pick one of the array elements.  Therefore, no keyboard entry is allowed.

 

My question is, how do I determine which element the user has touched/clicked? ...and how do I edit this value?

 

-Mike

 

 

0 Kudos
Message 1 of 3
(2,474 Views)
Solution
Accepted by topic author KSU Flyer

Nevermind gents, figured out a way to do it...not sure if it's the best way, but got it.

 

In my event structure, I have an event looking for the Mouse Down event with regard to the control array.  This event triggers my touch screen keyboard subvi to fire, and when the subvi closes I pass its value to the ArrElem.Value property to assign the element of the array touched/clicked.  Works.

 

-Mike

Message 2 of 3
(2,446 Views)
The LAVA Code Repository has an Array Point To Row Column VI that I use for this.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

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