LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset values to defult EXCEPT one

Hi All,

 

I am fully aware of the reinitiate functions, and usually just create a reference to the Vi and reset all value back to defuault using the method described here:-

 

http://digital.ni.com/public.nsf/allkb/08E7DDAE66A7D02C86256DDA00630E75

 

But i want to re-set all my indicators, but leave one user switched control alone (in a self test set up).

 

How would i go about doing this.

 

Thanks,

 

Richard.  

0 Kudos
Message 1 of 3
(2,693 Views)

I guess you can extract the value you want to preserve, reinit all to default, then re-insert the value.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 3
(2,687 Views)

When creating user interfaces which should store configuration information for some/all elements, it is recommended to add code for handling configuration files like *.cfg or *.ini.

The idea is to store the elements value to the file when shutting down the application and restoring them when the application restarts.Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 3
(2,686 Views)