11-22-2008 05:40 AM
Hello,
Iam creating a vi with some parameters...........My VI consists of Tabs, now in home page user should enter user name and password...........and if it is success then the VI should give acess to all tabs......otherwise it should display that wrong password......there should be option to change password...........
I HAVE attached just an front panel......please go through and provide the solution......
Thank you
11-22-2008 07:06 AM
Hi,
I don't have LV8.6, so I had to guess a bit, but here's what I'd suggest.
Use an Event structure to detect attempts to change tabs and a shift register to keep track of whether it's locked or not. You should get the actual password from somewhere other than a constant on the block diagram, but this is the idea. As for the option to change the password, I'd need to know where & how it's being stored. It should be straightforward, though.
Have a good weekend.
Jim
11-22-2008 09:28 AM
You have no code to go through, so here a hint to the page access problem.
Go to the tab control on the FP and right click. Select create property "Pages". This is an array of references of the page selectors, these references can be used to set the "Page enbaled state".
Please try.
11-22-2008 09:37 AM
sunil_v20 wrote:Hello,
I HAVE attached just an front panel......please go through and provide the solution......
Thank you
andree wrote:
You have no code to go through, so here a hint to the page access problem.
This wouldn't be the first time.