LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

login

Hello 

 

I really need help concerning login in labview.

I wanted to make to seperate login where one is for admin and the other is for user.

can somebody help me please

0 Kudos
Message 1 of 9
(3,334 Views)
0 Kudos
Message 2 of 9
(3,308 Views)

hello sir,

 

I check those vi you suggest me. But me my problem is i dont know how to implement it in my work,

i am using even structure sir

0 Kudos
Message 3 of 9
(3,300 Views)

Post a scrren shot and tell us where you are stuck

0 Kudos
Message 4 of 9
(3,295 Views)

Sir this is the login i did and it is working perfectly fine

but it is a prompt user login

but me i dont want this.. i want to have a normal user login and admin login ( where can add to delete user).

 

Download All
0 Kudos
Message 5 of 9
(3,288 Views)

I don't understand.  The very definition of a login is a prompt that asks you to log in.

 

[edit]

Oh, I see.  You want an integrated login.

[/edit]

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 9
(3,261 Views)

So, once you have this integrated login, are you prepared for the task of enabling/disabling functions according to the security level?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 9
(3,253 Views)

Yes sir this is the one i wanted but i am having problem when i am trying to do it in event structure

0 Kudos
Message 8 of 9
(3,227 Views)

@Zahkay wrote:

Yes sir this is the one i wanted but i am having problem when i am trying to do it in event structure


Look into creating a Queued Message Handler.  There is a template shipping with later versions of LabVIEW.  You can also do a Google search.

 

Your first state would be something that disabled all the controls except for your login stuff.

 

Your next state would be triggered by a login event.  This state would contain your security stuff, and would simply enable the controls that the user is allowed to use (while disabling the controls they aren't allowed to use) based on the results of your security algorithm.

 

The rest of the states would simply respond to specific events on your fornt panel.  Remember, you don't need code to prevent unauthorized access to these controls because that's all taken care of by simply disabling that control above.  Remember, the exit button is one of these, and the state that responds to your exit button is where your cleanup code goes.

 

If running in dev mode, remember to make it so the user can't just open the VI and modify it to bypass the security.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 9 of 9
(3,213 Views)