Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you add a password to a tolerance setting?

My customer has a variety of inspections going on and has the ability to adjust the tolerances on the fly using controls.  But, he would like to add a password so only the supervisor could make the adjustment.  Is that possible?

 

Thanks,

 

JJRGT

0 Kudos
Message 1 of 3
(3,251 Views)

Hi JJRGT,

 

There is no function that allows you to lock controls, however you can set up a password for the VI using File»VI Properties»Protection.  This allows you to lock the block diagram.  You could then set up the password using logic in LabVIEW. You could use a dialog box and if the input string doesn't match the string in the block diagram then the value would reset to the previous value.  That accomplishes the same thing.

 

 

Nick Keel 

Applications Engineering 

National Instruments

Nick Keel
Product Manager - NI VeriStand and Model Interface Toolkit
National Instruments
0 Kudos
Message 2 of 3
(3,231 Views)

 


My customer has a variety of inspections going on and has the ability to adjust the tolerances on the fly using controls.  But, he would like to add a password so only the supervisor could make the adjustment.  Is that possible?

 

 

Using a while loop you can constantly check for a string input. If the string input doesnt match that of a supervisor string then you can grey the tolerance settings and if it matches you enable editing....

0 Kudos
Message 3 of 3
(3,214 Views)