LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to automatically off the push button

Solved!
Go to solution
Solution
Accepted by shafiesani

shafiesani wrote:

lol.jpg

 

i dont know if i violate the basic labview rules..but at least it works for me..=) this is just an example to switch off the button, the actual program is totally different.


What you are showing now is a different premise than what you showed originally. In this premise the control labeled "Boolean" is enabling a calculation that simply adds 5 to a numeric control. If the calculation is 10 then you set the Boolean off. In the original post the Boolean control was turning on an automatic counter. Two different concepts. The second concept can be done without a second case structure by using some simple Boolean logic.

 

Oh, and you're still creating greedy loops. I guess you like your CPU running at 100%. 

0 Kudos
Message 11 of 14
(2,217 Views)

oh..thank you thank you..

new learner like me always need help from you.. :smileyhappy:

0 Kudos
Message 12 of 14
(2,214 Views)
The boolean logic was what i suggested in my post and also can call a invoke node and choose "reinitialize to default" after the operation....
0 Kudos
Message 13 of 14
(2,203 Views)

muks wrote:
The boolean logic was what i suggested in my post and also can call a invoke node and choose "reinitialize to default" after the operation....

Actually, your suggestion was to change the mechanical action of the switch. How is that Boolean logic? 

 

 

0 Kudos
Message 14 of 14
(2,194 Views)