Jump to content

Login VI


Recommended Posts

Posted

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

Posted

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 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

Posted

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

Posted

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.

Posted

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 :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.