LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reinitialize all to default

Please have a look at the following vi.

When I call "reinitialize all to default" from my running program (Main Program.vi) it should reinitialize the program currently in memory (i.e. Main Program.vi). However I can see on the front panel that this doesn't happen since greyed out buttons don't reinitialize to their default value (i.e. enabled).

How to resolve this problem?

Any help gratefully received!
0 Kudos
Message 1 of 2
(2,774 Views)
Hi,

"reinitialize all to default" does not reinitialize the vi. It only resets
all controls to the default values. Disabled state is has nothing to do with
the value, and it therefor not reset. You have to enable each control by
setting the disabled property (for each control) to 0.

Regards,

Wiebe.


"schorsche" wrote in message
news:506500000008000000E8EC0000-1079395200000@exchange.ni.com...
> Please have a look at the following vi.
>
> When I call "reinitialize all to default" from my running program
> (Main Program.vi) it should reinitialize the program currently in
> memory (i.e. Main Program.vi). However I can see on the front panel
> that this doesn't happen since greyed out buttons don't reinitialize
> to their default value (i.e. enabled)
.
>
> How to resolve this problem?
>
> Any help gratefully received!
0 Kudos
Message 2 of 2
(2,774 Views)