LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

counter program? Like a ticker

Solved!
Go to solution
I need to make a program that keeps count, whether i press a "minus 1" button or a "plus 1" button in the while loop. I'm not sure on how to actually convert the boolean logic of the button pressed to equal an addition of the number? Any comments appreciated!
0 Kudos
Message 1 of 12
(5,233 Views)
Message 2 of 12
(5,224 Views)

Mathan, were both of your buttons supposed to increment it? Or did you forget a case?

 

 

Is there any reason you don't want to use a simple numeric since you want to increase and decrease it manually?

The up and down buttons are your plus 1 and minus 1 buttons with no booleans or logic..

Message Edited by elset191 on 11-12-2009 10:17 AM
--
Tim Elsey
Certified LabVIEW Architect
Message 3 of 12
(5,221 Views)
That is perfect! thanks Mathan
0 Kudos
Message 4 of 12
(5,215 Views)
Solution
Accepted by bawhite8
This one actually works. Just messing with you Mathan but yours only counts up.
Tim
GHSP
Message 5 of 12
(5,212 Views)

elset191 wrote:

Mathan, were both of your buttons supposed to increment it? Or did you forget a case?


If you again read the OP's post, he just want to count when the buttons are pressed and not want to actually inc/dec.

0 Kudos
Message 6 of 12
(5,203 Views)
aeastet, my version of LabView is to current or too old, can you snap a screen shot of the VI false/true part?
0 Kudos
Message 7 of 12
(5,202 Views)
I'm sorry, should have clarified, but I do want the count to increase or decrease according to the +/- buttons pressed continuously
0 Kudos
Message 8 of 12
(5,201 Views)

here are the screen shots.

 

Screen shot.png

Tim
GHSP
0 Kudos
Message 9 of 12
(5,190 Views)
What version of LabVIEW you are using? Here is his program in 8.6.
0 Kudos
Message 10 of 12
(5,187 Views)