Log in

View Full Version : Changing constants to variables in LabVIEW?


K Lenox
04-02-2010, 18:45
Hello, I am Kyle Lenox of the Amherst Robotics team.

I was wandering if there is a way to change the constants to varibles in labVIEW. The idea is that if the constants were varibles, you could take less time building and running the LabVIEW data.

Or, if there was a way to change the iputs on the dashboard. By doing this you could edit speed controls, legth of time, (etc.) and not hace to shut down the Dashboard, open up LabVIEW, edit the code, build it, run it at start-up. If that is possible please let me know!!

Thanks, any bit of know-how is appreciated!
Kyle Lenox
Team 2632

hamosad1657
04-02-2010, 18:47
Just right click on the input of VI, ->Create->Control.
;)

Good luck!

Luke Pike
04-02-2010, 21:11
After you turn them into controls and edit their values during debug, make sure that you go into the edit menu and select "make current values default" so that the values stay when you download the final code.

Greg McKaskle
04-02-2010, 22:18
All good suggestions. You can also right click on a constant and Change to Control.

Greg McKaskle