LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change size of the run arrow button??

Solved!
Go to solution

Hello,

Is it possible to change the size of the run button, since I am developping an application for touch screen, and it is a bit difficult to tap the arrow.

 

Thanks

0 Kudos
Message 1 of 3
(2,716 Views)
Solution
Accepted by topic author Moobe

Are you refering to the run arrow on the toolbar?
The user should not have to press this button.  You should consider making an application that runs when opened (exe most likely) and control the state using your own interface, this way you can make anysize run arraw you desire.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 2 of 3
(2,712 Views)

Hey Moobe, I'm Paul from Applications Engineering here at NI, and I am going to assist you with this issue.

 

First off, unfortunately, the run arrow is a part of the LabVIEW environment, and as such, is not an editable property.  I recommend you take my following advice, but first I'll shoot you a "cheating" work around.  The "size' of the LabVIEW environment is tied to the resolution of your display.  So, if you lowered your resolution, then effectively your run arrow would become "larger".

 

I'm not familiar with your application, but I would say in general having the user run and stop a VI would not be the optimal way to implement your program.  

 

First, I would suggest that you set up the program to run automatically at launch, as falkpl suggested.  This can be accessed by File>VI Properties>'Execution' Pull Down'>Check 'Run When Opened'.

 

Second, your VI should feature a stop button, but you could also implement a start button.  In essence you would have a "soft" start and stop instead of "hard" start by using the run arrow. So, when the user pressed the stop button, then your program would fall into an "idle" state where it would be waiting for the start button to be pressed to start running your code again.  You would also have a button to truly stop the program, as in a program exit.  Essentially, you would be using a state machine with a looped event structure.  Check out:  http://decibel.ni.com/content/docs/DOC-14169 for an example of what I'm talking about.

 

Third, if you went with this implementation (Autorun with Soft Stop/Start), then you would want to remove the run arrow and stop sign from their toolbar.  There are some different options you can check out by going to File>VI Properties>'Window Appearance' Pull Down.

 

Cliff Notes:  Instead of allowing the user to hard start and stop the program, Autorun the program at launch and use soft start and stops, then remove the run arrow and stop sign.

Paul Davidson
National Instruments
Product Owner - ni.com Chat
Message 3 of 3
(2,678 Views)