Showing results for 
Search instead for 
Did you mean: 

Controls in one smartphone vi control other open VIs..

This is what my code looks like:
As I drill into sub VIs keypad movements move the cursor in parent VIs. Now that's annoying but what really sucks is when you exit a VI some times that enter command also actuates the button on the parent VI that brought you into the sub VI. Essentially making a loop. Any thoughts on how to focus the keypad movements on the current VI only?
0 Kudos
Message 1 of 7
Hi gt5816v,
maybe it helps, to check if the vi where the event occured, has the focus, or if it is the top level vi.

Message Edited by MikeS81 on 04-22-2008 07:57 PM
0 Kudos
Message 2 of 7
The VI that "should" be in focus functions properly but some keypad and button presses are relayed to it's parent VI. Does that make sense?
0 Kudos
Message 3 of 7
I have tried adding key focus to the sub VI but it doesn't seem to help. Any input would be really helpful Smiley Happy
0 Kudos
Message 4 of 7


Would it be possible for you to post your VI? I looked at the screenhots you had provided, however, I wanted to play around with it.

Mehak D.
0 Kudos
Message 5 of 7
I will build a source distribution tonight and post it tomorrow.
I'm thinking I need to determine if the vi is the current top level or not and disable the getPDAInput VI based on that.... Trying to find a good way to implement this now.
0 Kudos
Message 6 of 7
I tried posting this as an attachment but no worky..
0 Kudos
Message 7 of 7