ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(5,181 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
(5,174 Views)
well, isn't that nice ... 🙂

thanks


Ed
0 Kudos
Message 3 of 7
(5,171 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
(5,170 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
(5,165 Views)

Thanks!

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

 

Best,

Hossein

0 Kudos
Message 6 of 7
(3,195 Views)

Thank you ❤️

0 Kudos
Message 7 of 7
(1,916 Views)