LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerical Indicator Increment Problem

Solved!
Go to solution

I am trying to get this simple vi to increment the numerical indicator by one everytime the voltage measured from my USB-6008 equals a specified value.  When I run the vi, the indicator displays "1" and when the voltage is equal to the specified value, the indicator reads "2" but when the voltage fails to equal the specified value, the indicator returns to "1".  Is there a way to increment the indicator by one when the voltage is equal, then have the indicator remain the same when the voltage drops and doesn't equal the specified value, then have it increment again by one the next time the voltage is equal to the specified value?  Any help would be greatly appreciated.  I've attached a picture of my front panel below.

 

 

0 Kudos
Message 1 of 5
(3,502 Views)

Your pictures are not attached.  The images are pointing to a spot on your hard drive which for obvious reasons we don't have access to.  Please attach the images to your message.

 

A picture of your front panel won't do much good either.  We need to see your code, so please attach your .VI.

0 Kudos
Message 2 of 5
(3,500 Views)

Hi csossi,

      Try using the "Add Attachments" option to attach your VI or JPG (see blue text under "Submit Post" on "Reply to Message" page.)

 

Cheers!

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 3 of 5
(3,499 Views)
Thanks for pointing that out for me, I tried using the the "Insert/Edit Image" but it must not have worked.  Anyways, here is my vi.
0 Kudos
Message 4 of 5
(3,485 Views)
Solution
Accepted by topic author csossi
You need a shift register
Message 5 of 5
(3,477 Views)