LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a login interface in labview PDA module?

How to create a login interface in labview PDA module? So that it checks with a list of usernames and passwords and allow to go to another VI?
Anu
0 Kudos
Message 1 of 5
(4,263 Views)
I have done this ... well sort of (for access to an administrative section).... in my application by using a txt file to store the password (I had no login names) and reading the txt file then checking the input password against the data from the txt file.

 The only thing is one has to concider how computer savy thier users will be.  You will probably want to do some simple encrypting for the login and password before you save it to the txt file.  Alternatively, you could use a datalog to save the information, which sort of encrypts it for you (saves in proprietary format, not readable using a text editor).  That my 2 cents.

All in all, not really all that difficult.

Greycat
0 Kudos
Message 2 of 5
(4,260 Views)
Can anyone help me with a sample code?
0 Kudos
Message 3 of 5
(4,246 Views)
Anu,
 
I've attached a really short example that does something like what you're talking about.  It just compares the user's username and password a pre-determined username and password and then "logs the user in" based on that comparison.  Like Greycat said, you probably want to store this username and password info in some sort of file on the PDA that's in an encrypted format for both security and flexibility of your application.
 
I hope this helps,
Justin D.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(4,230 Views)
Thanks Justin!
0 Kudos
Message 5 of 5
(4,217 Views)