LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best way to create a timer that counts up and down automatically?

I want the timer to automatically count up and down from zero to a certain value.

0 Kudos
Message 1 of 13
(4,672 Views)

Sounds like a simple application that can be done with a While Loop with some Shift Registers to hold state and counter value.

 

What have you tried?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 13
(4,658 Views)

I built a countdown timer from this guide, but I don't know how to proceed

 

http://www.rmuti.ac.th/user/nopparat/document/pdf/LabVIEW_Lab6.pdf

0 Kudos
Message 3 of 13
(4,520 Views)

This is what I have so far but it only counts down to zero

0 Kudos
Message 4 of 13
(4,641 Views)

I recommend using a boolean (stored in a shift register) to state whether your values are incrementing or decrementing.  Then you just use a case structure for your two different methods.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 13
(4,637 Views)

Honestly, I don't know how to do that

0 Kudos
Message 6 of 13
(4,619 Views)

@ylevental wrote:

Honestly, I don't know how to do that


Back out to the main LabVIEW forum page and there are links on the right pointing you to all kids of good learning stuff.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 13
(4,604 Views)

Hi,

Think this example can Help You!!!

BR

Certified LabVIEW Architect (CLA)
0 Kudos
Message 8 of 13
(4,575 Views)

@Hrachya wrote:

Hi,

Think this example can Help You!!!

BR


Not helpful to help the OP cheat by giving him an answer to a problem he should be doing on his own for school.

 

 

0 Kudos
Message 9 of 13
(4,566 Views)

nyc

That is not my problem, I did not read everyones life history before helping them. He has problem, I try to help, why he is doing that, that his his problem....

Thank You

BR

Certified LabVIEW Architect (CLA)
0 Kudos
Message 10 of 13
(4,556 Views)