m037_85 Posted April 16, 2009 Report Share Posted April 16, 2009 hi everybody I have main VI which has my code i want to make login VI which is show my main VI automatically if username and password are correct. for example: if my username and password correct run my main VI if not show message. plz help me. best regards Quote Link to comment
gleichman Posted April 16, 2009 Report Share Posted April 16, 2009 What have you tried? Where is the problem? Creating a window with two string controls? Making a password control? Hashing, storing, comparing passwords? Program control after password verification? QUOTE (m037_85 @ Apr 15 2009, 01:03 PM) hi everybodyI have main VI which has my code i want to make login VI which is show my main VI automatically if username and password are correct. for example: if my username and password correct run my main VI if not show message. plz help me. best regards Quote Link to comment
m037_85 Posted April 17, 2009 Author Report Share Posted April 17, 2009 First think you for reply. Program control after password verification? my problem is when password correct who can i call my main program to work( main program is another VI). My project is: 1. i remote access to server(which has my project) 2. show Login screen 3. if correct open my project plz help me cuz its very important in my project. Think you again Quote Link to comment
asbo Posted April 17, 2009 Report Share Posted April 17, 2009 Are you hard-coding your password(s)? Are you pulling them in from some other source? A nudge in the right direction would be to check out comparison operators and case statements. Quote Link to comment
ShaunR Posted April 17, 2009 Report Share Posted April 17, 2009 Or download the password class in the code repository From then on (simplest) its just a case statement with an exit function in the false frame if the password fails and your sub-vi in the true frame if it passes Quote Link to comment
ShaunR Posted April 18, 2009 Report Share Posted April 18, 2009 Oh. And just remembered! there's a login example in the examples directory :; Quote Link to comment
m037_85 Posted April 18, 2009 Author Report Share Posted April 18, 2009 Thinks everybody I solve problem by using HTML code in my website but if any one has the code, can send to me? TO LEARN MORE thank you very much. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.