Quote:
Originally Posted by Hadi379
All of our values were on the front panel with the assumption that the code would use those values, but now I'm thinking that they need to be constants in the actual code.
|
A front panel control has a "default value". That is what the control is set to when the program begins. If you are setting parameters for your code using front panel controls, you need to change the default before you build the project.
Do that by right-clicking on the control, choosing "data operations" from the popup menu, then choosing "make current value default" from the submenu.
After that, the control will essentially be compiled into your code as a constant.