Values Reset In My Program Each Time I Open It

Updated Jul 3, 2018

Issue Details

Every time I open my program, after saving and closing it, the values reset. I want them to stay the same after I enter them. Why is this happening and how can I achieve this behavior?

Solution

If you go to your Block Diagram, and click Edit -> Make Current Values Default, you will get the preserve the values you have entered on the block diagram. Saving will preserve the wires and VIs, but it will not preserve the values entered in. Those will all have default values that will be initialized to a default when the program is run.

Additional Information

Current values are not saved as defaults when saving the file because many times, you will want to run a program and enter values that you want re-initialized to default values when you open the program again to run it. Thus, the use of Make Current Values Default.

WAS THIS ARTICLE HELPFUL?

Not Helpful