LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to map the password in labview pda module?

hi

I have created a vi in labview pda module which allows the user to login..It contains strings to enter the username and password. But I am not able to hide the password letters like *******.I want to map the password in such a way that it looks like ******.Is there anyone familiar with this mapping of the password. Cud anyone help me by sending a sample vi...

thanks,
Anu
0 Kudos
Message 1 of 4
(3,811 Views)
Hi there,
 
Probably I haven't understood your problem, but if you right click on the string control and select "Password Display", the control should hide your input. Have you tried that? I'm using LV 7.1.
 
Regards,
0 Kudos
Message 2 of 4
(3,807 Views)
And just in case the password display option does not work in the PDA, you might need to do this yourself. If the Key Down? event is supported, you should be able to intercept clicks to the field, discard them and replace them with stars. The actual password will be kept in a seperate string indicator and you can also detect the backspace to delete characters. If the Key Down? event is not supported, you might need to do something more elaborate with the standard Key Down event and direct it to another control.

___________________
Try to take over the world!
0 Kudos
Message 3 of 4
(3,800 Views)
Anu,

Without some creative programming, there isn't a way to use string controls with password display. However, in the LabVIEW PDA Module 8.20, this is a new feature. Check out page three of this document: Getting Started with the LabVIEW PDA Module for Windows Mobile.
--
Michael P
National Instruments
0 Kudos
Message 4 of 4
(3,787 Views)