10-31-2009 12:35 PM
Hi,
I have a small problem.
I have a main screen with two commands. >>Login and Operation.
I can access to my Login and no issues.
When it bounces back to operation, I cant go into my operation screen.vi.
Why is this so?
PLs do advise.
Thsk N Rdgs
Titano
Solved! Go to Solution.
10-31-2009 01:12 PM
10-31-2009 01:30 PM
HI,
Do you mean the connectors?
10-31-2009 01:39 PM
Of course not. Look at how you have set VI Properties>Window Appearance in the login VI. It's been customized.
Though if the login VI is not your code, you probably don't know anything about it. Before you do anything else, you might want to spend some take time taking the tutorials. The process done for the login VI is also explained in one of the shipping examples. Look for an example called Dialog Box Demo and look at the block diagram of the popup subVI.
10-31-2009 01:59 PM
HI,
Thanks. 1 more query.
Once I run my main screen, I want only the login button to be enabled. Once I'm successfully logged in, then the operation screen must be enabled.
How do i go about it?
I tried property node but could not get a successful result.
Pls advice.
Thanks
10-31-2009 02:52 PM
You don't have any property nodes in the program. If you want something fixed, you need to show what you have done. It's simple to wire the result of the login VI to a couple of Disabled property nodes.
p.s. You've already been warned about this silly 'one more thing' habit that you have. Please break it.
10-31-2009 08:46 PM
Hi,
I tried implementing the property nodes.
I could disable the operation screen but do not know how to enable it after the login authentication is successful.
From my, operation screen, tried to put a back button to latch it back to the main screen, but unsucessfull also.
Pls advice.
10-31-2009 08:47 PM
Sorry, forgot to attach the attachments.
Here they are...
10-31-2009 09:54 PM
Think about what you want to do and then look at your code. You have said that if the login in successful, you want to enable the operation button. You've done nothing in the login event. You just have to check the result coming back from the login VI as I've already said. If it's true, you enable the operation button and disable the login button. The operation event should not have any property node. What you have there is just plain wrong. You do want to set the properties before the while loop runs.
Your back button in the operation subVI also makes no sense. As soon as the stop button is clicked, you will return to the main.