Current Position:Home > Reset default settings on vi termination

Reset default settings on vi termination

Update:11-30Source: network consolidation
Advertisement
I wish to reset my controls to the default settings on termination of the vi. I have set the default values in the properties field. When I restart my vi the settings at termination are those at next run of vi. Two controls I wish to reset to default are on/off boolean switches, one which must stay switched when pressed (but wish to reset to default on termination), the other which can be latched (and terminates vi).

The Best Answer

Advertisement
If you have set a default value for all the controls on the FP. then you can create and invoke node for the entire vi.(see examples)
If you wish to just have a couple of your controls set to default then all you have to do is right click on each control and create an invoke node and set it to (reinit to DFlt) this should help you.
Joe.
"NOTHING IS EVER EASY"
Attachments:
reinitialize to default.vi ‏11 KB