LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save default constant values

I have a Labview program with many configuration parameters.
Eventhough they are variable there is a default configuration. Is
there a way to make these default values appear everytime you execute
the program. It is quite annoying to have to manually change them
every time I start the application.

TIA
Message 1 of 4
(3,634 Views)
one way you can do this is to enter the value into the control(s) then right click the control and click dta operations then click make current value default. it will then become its default value everytime you open the. you can also programatically set them using property nodes. you can also set them back to their original value programatically by using an invoke node and use the reinit to default method.

Dan
0 Kudos
Message 2 of 4
(3,634 Views)
[snip]

> you can also programatically set them using property
> nodes. you can also set them back to their original value
> programatically by using an invoke node and use the reinit to default
> method.

Thanks for the first tip, I think that will be enough for my simple
case. None the less, I am just curious with the last recommendation
you gave me. How do you "invoke a node". Further more, what is a
"Node". Please enlighten me or give me a hint on where to find the
information.

Thanks in advance.
0 Kudos
Message 3 of 4
(3,634 Views)
Hi,

You can also go to Operate >> Make current values default and Operate >> Reinitialize all to default value. The former would make the current values default for All the controls and indicators.

Also, 'node' is a generic term used to refer to subVis, Express VIs, several LabVIEW Functions, etc. To create an "invoke node" for any control or indicator, you can right click on the control or indicator in the Block Diagram, and select Create >> Invoke node. You can find more information about Invoke nodes in LabVIEW >> Help >> VI, Function and How-to help.

Regards,
Ankita A.
National Instruments
0 Kudos
Message 4 of 4
(3,634 Views)