LabVIEW Web UI Builder and Data Dashboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I change programmatically the Make default property for all elements on the front panel?

Solved!
Go to solution

Can I change programmatically the Make default property  for all elements on the front panel?

I need to make logout button which on click will load all default values of my fron panel.

Message 1 of 3
(6,893 Views)
Solution
Accepted by Daniel Stoilkov

There is no way to programmatically invoke the "Make Default" or "Load Default" editor functionality. To do this yourself you would need to write your default values to each control explicitly on the diagram when the user presses the logout button.

0 Kudos
Message 2 of 3
(6,891 Views)

I guess i have understood your question well...you want to reinitialize all your front panel objects to their default values on the particular event...

 

for that you can use the invoke node method for the VI Reinitializa all to default. Provide the VI reference of the VI whose front panel you want to reinitialise and it will give the default values to all objects on the FP of that VI. No explicitly default values needs to be written to each front panel object.

Attached Screenshot may clear it...

 

Default_values.png

Message 3 of 3
(6,765 Views)