06-03-2011 09:38 AM
I'm building a simple user login system with the following desired functionality.
Main vi called Login.vi (attached below) offers the user the chance to login to a previously created account by entering their username and password or alternatively the user can create a new account which will ask them to enter a number of details, name, age, height etc.
If the user has an existing account and wants to access this account, the program flow goes to Validate.vi when Login boolean is true which authenticates their entered username and password.
Else the user creates a new account when "I'm New" boolean is true, then program flow should go to add user.vi (attached below). Here lies my problem... I'm not sure how to close Login.vi front panel when "I'm New" boolean is true and hence open add user.vi front panel.
I'm convinced the solution is simple enough so I'm sure someone with more experience can point me in the right direction.
Thanks,
Strokes
Solved! Go to Solution.
06-03-2011 09:40 AM
I've attached the final two sub vi's that are part of my main vi entitled Login.vi which is attached above.
Strokes
06-03-2011 02:11 PM
Hey,
I'm assuming that you will be using this system as part of of a larger system. It will be harder to first pop up the login VI and then pop up the other vis also. I attached a VI of how you could structure it so that you get your desired functionaility but still have the ability to expand the main program.
Hope this helps.
Rkll