02-16-2011 03:06 PM
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
Solved! Go to Solution.
02-16-2011 03:13 PM
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.
02-17-2011 12:35 PM
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.