From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start Button

7616EAA9-FFF9-4912-902C-83FCECD255E5.jpeg

15AA6170-86F0-4F19-B54F-D7B05C36BD2C.jpeg

I am looking for help to add a Start button to the front panel on this program. Also any suggestions to add a string ? Thanks !

0 Kudos
Message 1 of 3
(979 Views)

You right click on the front panel, navigate to the boolean pallette on the style of your choice (it looks like you currently have a mixture of Silver and Modern controls/indicators), and place it on the front panel. You then change the label to Start and right click on the control and choose properties and change the boolean text to Start.

 

This is the answer to the question, but probably not what you're looking for. If you want help in how to implement a start button feature in your code then it is best to include your code, not just a picture of part of your code. Without that the best advice that I can give is that you should consider a state machine - there are plenty of examples of state machines in LabVIEW.

0 Kudos
Message 2 of 3
(947 Views)
  • You cannot add a start button to a blurry picture of a monitor showing a truncated diagram and front panel. If you want help, attach your actual VI.
  • You can name any Boolean control "Start". The more important question is what should happen if you press it? Can you tell us? If the start button should start something, i.e. go to a different program state while the VI is running and waiting for user input, you would just go to a different state of your state machine architecture
  • If the VI is in edit mode, pressing front panel buttons will not do anything useful, e.g. run the VI, even though there are silly workarounds that you should never do!
  • What is "add a string"? String control for user input? String indicator to display messages? A free label decoration? What's the purpose? (Or you could just stick a post-it note to the monitor, right?)
0 Kudos
Message 3 of 3
(903 Views)