LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reset

Hello

I’m trying to make a reset for my application, but I don’t know how I can do that.

What I want to do is when I push the reset button all control should go to the default value.

Someone know how can I do that?? Could you send me an example of a reset? If you want so, you can change the example that I send in attachment in order to make the reset. 

0 Kudos
Message 1 of 4
(2,745 Views)
Use an event structure, where the event is triggered by your reset click, then use property nodes of your controls in that event to reinitialize to default value...

If you need more info, let us know...
0 Kudos
Message 2 of 4
(2,740 Views)
Another, easier way to do it, is to use an Invoke Node with a VI reference (to the VI in which you want to do the reset), and in the methods there is a "Reinitialize All To Default" method.  I've never tried it, so I'm not positive it'll do what you want, but this or the other way I metioned should work.

Message Edited by Novatron on 07-04-2005 01:49 PM

0 Kudos
Message 3 of 4
(2,731 Views)

Hello,

You will find attached a sample code showing how to use the invoke node "Reinitialize All to Default" from a VI Reference.

Greetings from Paris.

Matthieu G.

0 Kudos
Message 4 of 4
(2,701 Views)