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: 

saving front panel input variables?

Basically I need to save my front panel variables without having to retype them every time I load my VI, such as:

data rate = 20000
samples per channel= 400000
number of channels = 6
average time = 0.001

so on ...

kinda like when you open an example file from the help menu, you just run the VI without entering any variable values. I know this is probably a " save with options " deal, but I tried a lot, and doesn't seam to pertain my values when I load the VI.

help please,

Ed
0 Kudos
Message 1 of 7
(3,393 Views)
just right click on your variable, chose data, set current data as default, when ever you load you vi, the default values are there.
0 Kudos
Message 2 of 7
(3,386 Views)
well, isn't that nice ... 🙂

thanks


Ed
0 Kudos
Message 3 of 7
(3,383 Views)
Hi,

You're right. This is an otion in the development environment.Go to Operate>>Make Current Values Default. That will make all the values of your front panel controls the default values.
You can also individually set each control default value by right clicking>>Data Operations>>Make Current Value Default.

I also suggest having a look at all these articles/KBs:
Default Values refs

Regards,
Cyril Bouton
Active LabVIEW Developper
Message 4 of 7
(3,382 Views)
Thanks again , I suppose it would be faster to set tham all at the same time.

wonderful 🙂


Ed
0 Kudos
Message 5 of 7
(3,377 Views)

Thanks!

(The first option is now changed to Edit>>Make Current Values Default)

 

Best,

Hossein

0 Kudos
Message 6 of 7
(1,407 Views)

Thank you ❤️

0 Kudos
Message 7 of 7
(128 Views)