LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset LED after pushing stop button?

Solved!
Go to solution

you can use local variables as altenbach said.

 

just right click your booleans and select create and than select local variable and you can than put a tru-false constant to it.

 

 

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 11 of 21
(3,282 Views)

xombox@seznam.cz wrote:

based on your suggestions I set the default value by using property node. Don`t know how else I could this accomplish. Is that OK?


 

For cases such as this, you should use local variables instead of value properties. More lightweight. 😉

 

It is also sufficient to use a single FALSE diagram constant. You can branch the wire to both nodes. Less clutter. 😉

Message 12 of 21
(3,279 Views)
lol wow that was interesting
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 13 of 21
(3,277 Views)
Yes but how can I use constant in this case? There can be only one green wire connected to the LED and it is the one indicating if file was loaded or not.
0 Kudos
Message 14 of 21
(3,272 Views)
You have to connect the true-false constant to the corresponding local variables.  🙂
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 15 of 21
(3,266 Views)

lol, I thougth that term "local variable" refers to the LED itself 🙂

 

so simply, thanks

Message Edited by xombox@seznam.cz on 05-06-2009 01:15 AM
0 Kudos
Message 16 of 21
(3,262 Views)

no problem

 

 

*remember kudo(s) for good answers*

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 17 of 21
(3,259 Views)

Also, if this is a subVI, none of this is probably needed. 😄

 

Simply go to the "VI properties...execution" and select "clear indicators when called". (For toplevel VIs, this would clear the indicators every time you run the VI).

Message 18 of 21
(3,224 Views)

altenbach wrote:

Also, if this is a subVI, none of this is probably needed. 😄

 

Simply go to the "VI properties...execution" and select "clear indicators when called". (For toplevel VIs, this would clear the indicators every time you run the VI).


 

 

Touche! Smiley Very Happy



Never say "Oops." Always say "Ah, interesting!"

0 Kudos
Message 19 of 21
(3,218 Views)

Hi,

im facing the same problem to my led. when i press the stop button my arduino digital output still remain the 1 bit, and my led keep on.

how i can solve it, any reset button can be add in?

0 Kudos
Message 20 of 21
(2,408 Views)