LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

START/STOP

To start my VI I use the RUN arrow of LabVIEW. To stop my VI I use a STOP button that is contained as a general stop within the VI. If I erroneously start my VI by using the CONTINUOUS RUN arrow, I can only stop the VI by using the ABORT EXECUTION. Students use the executable version of the VI in which I want to remove all unnecessary indicators.  If I remove the abort execution indicator I cannot stop anymore after an erroneous continuous start. Is it possible to also remove the continuous start in the executable version? Or is it even possible to introduce a START button in the VI and also remove the RUN arrow?

0 Kudos
Message 1 of 8
(3,344 Views)

File>VI properties

You are able to run it at start up:

run.PNG

 

 

Then in the appearence tab,

Customize>Uncheck the run button etc.

 

In the appearence tab it's also possible to just not show the continously button.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 2 of 8
(3,339 Views)
-When you open/double click an exe it will automatically run.
-You can remove Continuous run/Abort button in VI Properties.
Go to File>>VI properties>>Category>>Window Appearance>>Customize>>Uncheck unnecessary buttons.
-Please vote for this idea if you like it http://forums.ni.com/t5/ideas/v2/ideapage/blog-id/labviewideas/article-id/11566
Thanks
uday
0 Kudos
Message 3 of 8
(3,326 Views)

@udka wrote:
-When you open/double click an exe it will automatically run.   Actually, Thats just the default,  you can change the setting from the build spec source file settings page by checking the "Set VI Properties for all contained items" box and bringing up the VI Properties window by clicking "Custom VI Properties."  Use the same page to rip-out the run continuously run and abort buttons (They have no use in an app and can only cause trouble to users)
-You can remove Continuous run/Abort button in VI Properties.  Or, from the build spec (Preferable)
Go to File>>VI properties>>Category>>Window Appearance>>Customize>>Uncheck unnecessary buttons.
-Please vote for this idea if you like it http://forums.ni.com/t5/ideas/v2/ideapage/blog-id/labviewideas/article-id/11566

 


"Should be" isn't "Is" -Jay
Message 4 of 8
(3,300 Views)
Thanks Jeff for correcting things 🙂
Thanks
uday
Message 5 of 8
(3,284 Views)

Just keeping you honest UdaySmiley Very Happy


"Should be" isn't "Is" -Jay
Message 6 of 8
(3,282 Views)

@muonlab wrote:

To start my VI I use the RUN arrow of LabVIEW. To stop my VI I use a STOP button that is contained as a general stop within the VI. If I erroneously start my VI by using the CONTINUOUS RUN arrow, I can only stop the VI by using the ABORT EXECUTION.


Actually, what you need to do in this case is to click the Run Continuously button again.  That will disable the "repeatedly run" mode.  Then you can stop your VI normally.

 


@muonlab wrote:

Students use the executable version of the VI in which I want to remove all unnecessary indicators.  If I remove the abort execution indicator I cannot stop anymore after an erroneous continuous start. Is it possible to also remove the continuous start in the executable version? Or is it even possible to introduce a START button in the VI and also remove the RUN arrow?


As has already been said, remove the toolbar from the VI in the build spec.


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
Message 7 of 8
(3,237 Views)

After some time I made a fresh start with my VI, using your suggestion to remove the abort button and the continuous run button in building the executable file. After some time I found out that in VI Properties of the build process it is only possible to remove the abort button, the continuous run button can only be removed in the VI Properties of the original LabView Instrument file. May be good to know, thank you for the help.

0 Kudos
Message 8 of 8
(2,922 Views)