LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is joystick control supported in LabVIEW PDA?

Hello,
 
    In a LabVIEW PDA application, for some reason, we do not want to use the touch screen and we want to use the joystick control instead (that is available on the PDA) to navigate to & use the controls of the application (eg. buttons, tab control, ring control etc.). Is there an option in LabVIEW PDA Module to enable joystick control?
Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for Windows Vista/XP/2000 and LabVIEW 8.5 PDA Module for Windows Mobile. PDA that we are using: acer n300 Windows Mobile 5.0 PDA.
 
Thanks and Regards,
Subhashini
 
0 Kudos
Message 1 of 4
(3,287 Views)
Hello,
 
    I understand & see that some keyboard events are generated in the LabVIEW PDA application when i move the joystick around. Can any LabVIEW expert please let me know, whether LabVIEW PDA Module supports navigation amongst the different controls of a LabVIEW PDA application (eg. buttons, tab control, ring control etc.) via these keyboard events?
 
Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for Windows Vista/XP/2000 and LabVIEW 8.5 PDA Module for Windows Mobile. PDA that we are using: acer n300 Windows Mobile 5.0 PDA.
 
Thanks and Regards,
Subhashini
 
0 Kudos
Message 2 of 4
(3,259 Views)

Hi Subhashini,

The LabVIEW PDA Module does not support the ability to tab through controls and indicators.  Depending on your application, one workaround could be to set the focus on different controls depending on which hardware button is pressed.   You can use the PDA Button Input VIs to detect a button press.  There is an example program called Button Input VIs - Pocket PC.lvproj in the labview\examples\PDA\button input directory.  I've attached a modified version of the VI from that project to demonstrate setting focus to two different controls.  The numeric control is selected if "right" is pressed, and the string gets focus when "up" is pressed. 

Hope that helps!



Message Edited by Jennifer_R on 04-04-2008 12:21 AM
Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 4
(3,223 Views)
Hello Jennifer,
 
    Thanks for ur response. I think that will help.
 
Thanks & Regards,
Subhashini
 
0 Kudos
Message 4 of 4
(3,201 Views)