Are we talking about LabVIEW 5 here? If so check out the VI Server
functionality.
In the Functions palatte under Application Control you can open a VI
reference to
a VI with Open VI Reference and then using the Invoke Node you have both
"Make Current Values Default" as well as "Reinitialize All to Default
available".
These functions match exactly the same commands in the Operate menu.
charliesolomon@my-deja.com wrote in article
<7qkdgv$di6$1@nnrp1.deja.com>...
>
> > For every control you want to set back to a default value, make a copy
> > of it on your front panel, and set the default value. Now, when you
> > want your control to go back to default, set it via a local variable
> > ("Copy of Control A" -> 'Write' local of Control A
>
> Thank
s Rick,
> That would work for resetting controls to the same default values every
> time...I should explain my app better: I have a subvi that pops up
> a "setup" panel, allows the user to change some controls, then gives
> the option to Save or Cancel. Save button should make the current
> panel values the new default, so that next time the app is closed and
> reopened these new values will be in place. Cancel button will undo
> the changes and reset the controls back to the default state.
>
> Only thing I could find in the Help was some reference to
> a "Make_Current_Values_Default" DLL, but no info on how to find it or
> access it.
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390