LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate functions on the front panel in run mode?

Solved!
Go to solution

I think you r confused between "run mode" and "the program is running". Run mode can be acheived by clicking Operate----Change into run mode

 

whenever I change into run mode, I can't even right click or change or do anything for any controls or indicators. My question is how to unlock all controls after you change into "run mode"

 

 

0 Kudos
Message 21 of 44
(733 Views)

And if you want the users of your program to be your friends, make it so they don't have to know anything about this "run mode" Smiley Happy It is a confusing name for this mode. It should be called something along the lines of "preview".

=====================
LabVIEW 2012


0 Kudos
Message 22 of 44
(730 Views)

Bombbooo wrote:My question is how to unlock all controls after you change into "run mode"

 

 



Norbert already told you. Switch back to edit mode.

=====================
LabVIEW 2012


0 Kudos
Message 23 of 44
(727 Views)

Bombbooo wrote:

whenever I change into run mode, I can't even right click or change or do anything for any controls or indicators. My question is how to unlock all controls after you change into "run mode"


When you run the VI, the code enables all the disabled controls and you are fine.

 

Run mode itself is quite useless. Why do you think you even need to go to run mode (ctrl+m). Is there anything particular that you are trying to achieve by doing so?

 

Just run the VI instead!

0 Kudos
Message 24 of 44
(726 Views)

I want to turn on run mode because I want to avoid the user movinfg stuff on the front panel. I might add some password for the user to be only able to run the program without moving anything on the front panel

0 Kudos
Message 25 of 44
(719 Views)

Who are we considering "users"?  Are these people that will be calling your VI or people that will only be running it?  If they are only running it, build it into an EXE and your problem is solved.  BTW, you need to use a project in order to perform a build.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 26 of 44
(715 Views)

There are much better options. You have the 'Reorder' button that you can use to lock the controls. Besides building an exe, you can set the properties of the VI to run when opened. You have VI>Properties>Protection options. Why you be concerned about someone just moving controls on the front panel but not changing the block diagram is a mystery.

Message 27 of 44
(710 Views)
Thank you for the recommendation. I'll probably change my plan. I have another question. When i run the program, i cant scroll up-down the front panel window. Why is that?
I didn't lock the window. I locked only the data stream and some controls
0 Kudos
Message 28 of 44
(702 Views)

I can scroll just fine when running the program. How are you trying to scroll?

0 Kudos
Message 29 of 44
(695 Views)
Scroll up and down. Its locked
0 Kudos
Message 30 of 44
(692 Views)