LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The global variable panel has a menu item under OPERATE called REINITIALIZE ALL TO DEFAULT. How can all global variables be reinitialized at to their default values at program startup?

Each time I restart my application, I would like all global variables to be reset to their default values without having to reset each one individually. Can I do this? If so, how?
0 Kudos
Message 1 of 4
(3,746 Views)
Sure you can do it. Enclosed is a VI which checks all VIs in memory and reinitializes any that are of type Global VI.
Message 2 of 4
(3,746 Views)
This example is in version 6.1 and I run LabView 6.0.
Is it possible to convert it to my old version..?

Regards
Magnus
0 Kudos
Message 3 of 4
(3,747 Views)
Thanks for the small but powerful tip! Even this was more than 4  years ago! I love this very supportive labview forum. The best in industry! comparing with matlab, c/c++, vb sites.
0 Kudos
Message 4 of 4
(3,562 Views)