LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to prevent a user from changing or moving the front panel ?

hi,
Once an application has been developed, is it possible to prevent users from accidentally changing the front panel objects ?

Shiva
0 Kudos
Message 1 of 5
(3,486 Views)
Yes, any code being executed by the runtime engine is unmodifiable.

Mike..

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 5
(3,486 Views)
One way is to use the application builder to created a .exe. Another way is to password protect your VI. This prevents changes to the front panel and the diagram can not be viewed. You can also lock the front panel and diagram but this is not password protected.
Message 3 of 5
(3,486 Views)
I presume that your have compiled your vi and created a .exe application. However, user still able to scroll the front panel when they stop the program.

I always practise this:
In your diagram, search for the quit/exit/stop button, which quits the application. Wire in a case a "Quit LabVIEW" function upon user clicking on the quit button. This will quit the application and exit from LabVIEW, thus preventing user from accidentally changing the front panel objects or scroll them up/down.

As for your own convenient, to quit the program without exiting LabVIEW can be done with [CTRL]+[+]+[.]

Note: Quit LabVIEW function can be found at Functions Pallates> Application Control> Quit LabVIEW

Hope this will help.
ian
_sg
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 4 of 5
(3,486 Views)
Hi,

Select front panel objects which you want to prevent from any of the change, Goto "recorder" (most right menu), press lock. Now you cant move/resize any of the selected objects.

Hope it works. If you need anything else, your feedbacks are welcome.

Best Regards,
Nirmal Sharma
India
0 Kudos
Message 5 of 5
(3,486 Views)