LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to lock the controls in front panel of LabVIEW?

How to lock the controls on the front panel so that any one cannot move from their place.and another thing that how to avoid from editing of block diagram in labview so that one cannot change code?
0 Kudos
Message 1 of 4
(8,407 Views)
Simple, select the controls / indicators on the front panel you want to lock, press the reorder button on the labview toolbar (furthest button on the right) and select Lock from the list of options that appear.
To lock the entire front panel and block diagram, go to File >> VI Properties and select the Security category. From there you can select one of three options to protect your program.
0 Kudos
Message 2 of 4
(8,407 Views)
Hi,
Controls can be locked using LabVIEW's toolbar as on the picture attached called "Lock controls" (sorry for the French version)
2 ways to avoid block diagram edition :
either File -> VI properties -> Security -> Protect with password (See in the picture attached "Password protection")
either File -> Save with options -> Application distribution (all the diagrams will be removed) see the picture "Save with options"

Hope this helps !
Julien
0 Kudos
Message 3 of 4
(8,407 Views)
If you use the "Save with Options" and remove the diagrams, make sure and do it to a COPY of your VIs as there is no way to get the diagrams back. They are actually deleted from the VI, not just hidden.

Always keep a complete copy of your source code in a different location so you can always get back into it for changes and modifications.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 4
(8,407 Views)