LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to intilaze all values to default each time the VI executes

Hi,

I want all the indicators, controls to be initialized to default each time i execute the VI. At present i create a local variable for each of the contorls and indicators and set them to default in my program.
So if i have 50 variables i have to set them all to default.
I am aware that you can goto Operate > Initialize all values to default, but a user new to labview will not be able to do this each time.

Thank you
Gagan
0 Kudos
Message 1 of 3
(2,850 Views)
Create an "invoke node" and select "Reinitialize All to Defaults".

(Make sure it occurs before or after your main code, as needed.)

Message Edited by altenbach on 04-22-2005 08:34 AM

0 Kudos
Message 2 of 3
(2,849 Views)
Thanks,

This Forum is really cool for beginners like me !!
0 Kudos
Message 3 of 3
(2,839 Views)