LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programatically save actual values from frontpanel

Hello NG,

by clicking "actual values as standard" (or similar, becaus I use the german version) in the frontpanel menu "execute" (or similar) it is possible to set the actual frontpanel settings a standard values. Is it possible to do the same programatically? If yes, would this also work in a compiled exe running with the runtime engine?

Thanks a lot and best regards,
Michael
0 Kudos
Message 1 of 2
(2,675 Views)

It is possible. There is a VI Class method of the same name (in english it's Make Current Values Default) which you can call using an invoke node. It can only work when the VI is in edit mode, so you have to open a reference from another VI to run it.

In addition, it won't work in an EXE.

Another option is to save the values and load them on your own. OpenG's file toolkit includes VIs which do this.


___________________
Try to take over the world!
Message 2 of 2
(2,672 Views)