LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

incrementing a numeric value with a boolean button

Hallo,

 

I have a boolean button with "latch when released" behaviour. I would like to increment a numeric value (starting from 1) of a certain other value (for example 0.5), everytime I click on the button.

 

Thanks for help

0 Kudos
Message 1 of 6
(3,646 Views)
Something like this?
Andy Chang
National Instruments
0 Kudos
Message 2 of 6
(3,633 Views)

How about using an event structure instead of polling?  This should reduce CPU overhead.

 

Cheers, m

 

 

increment.png 

0 Kudos
Message 3 of 6
(3,625 Views)

Many ways to skin cat.

 

Message Edited by Broken Arrow on 05-18-2010 11:44 AM
Richard






0 Kudos
Message 4 of 6
(3,621 Views)

Here is a slightly cleaner way to implement Broken Arrow's idea.

 

Lynn

 

IncrementPt5a.png 

0 Kudos
Message 5 of 6
(3,598 Views)

johnsold wrote:

Here is a slightly cleaner way to implement Broken Arrow's idea. 


 

 Smiley Sad                                                                                     Smiley Wink

Message Edited by Broken Arrow on 05-18-2010 12:14 PM
Richard






Message 6 of 6
(3,589 Views)