LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a clock with: a reset, start and stop

How can i create a clock that have to do the following thing:

Countdown visual in the screen
Timeset with day's in seconds
- Pressing start -> it start to run
- Pressing stop -> The clock is stopping but it keeps the time, when i press start again then it goes on with counting
- Pressing Reset -> the clock goes back to the start position and waits to start again.

Tia, William
Running with Labview 6.1
Fieldpoint hardware
0 Kudos
Message 1 of 13
(6,403 Views)
The key is to use a shift register to hold the previous count...

Attached is a quick and dirty version of what you describe. It displays the passed time as seconds so if you need it to be in days just divide the value by 86400...If you don't need sub-second updates you can increase the wait time.
0 Kudos
Message 2 of 13
(6,400 Views)
This page contains an example that might be close to what you want:
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EDA
756A4E034080020E74861&p_node=DZ52067&p_submitted=N&p_rank=&p_answer=&p_sourc
e=External

It's an example of creating stopwatches using GOOP.


"William Strijks" wrote in message
news:506500000008000000BDB60000-1068850981000@exchange.ni.com...
> How can i create a clock that have to do the following thing:
>
> Countdown visual in the screen
> Timeset with day's in seconds
> - Pressing start -> it start to run
> - Pressing stop -> The clock is stopping but it keeps the time, when i
> press start again then it goes on with counting
> - Pressing Reset -> the clock goes back to the start position and
> waits to start agai
n.
>
> Tia, William
0 Kudos
Message 3 of 13
(6,400 Views)
Thanks for the fast answer, the only problem is that i cann't open the vi because i'm using labview 6.1. I forgot to write that in my question.


William
Running with Labview 6.1
Fieldpoint hardware
0 Kudos
Message 4 of 13
(6,401 Views)
Attached is the code in LV6.1 format.
0 Kudos
Message 5 of 13
(6,401 Views)
It looks like the timing toolkit vi's were written around 1999 in LV5.1, so
I'm not sure why LV6.1 can't open them. Can you elaborate on what went
wrong?

DP

"William Strijks" wrote in message
news:506500000005000000274A0100-1068850981000@exchange.ni.com...
> Thanks for the fast answer, the only problem is that i cann't open the
> vi because i'm using labview 6.1. I forgot to write that in my
> question.
>
>
> William
0 Kudos
Message 6 of 13
(6,401 Views)
i get this message,

Labview load error: 9 vi version (7.0) is newer than version(6.1).


So i was refering to more vi's what i downloaded from dev . board from ni.

William
Running with Labview 6.1
Fieldpoint hardware
0 Kudos
Message 7 of 13
(6,401 Views)
I am looking for the same stopwatch VI, but I am running labview 6.0
can anyone help?
0 Kudos
Message 8 of 13
(6,322 Views)
Attached is VI in v6.0 (unless I messed up).
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 9 of 13
(6,314 Views)
I am able to open the Stopwatch_60.vi program in labview 6.0, but the program will not execute. It gives me four errors of missing assignment to tunnel.

each error says:
The Case structure does not have anything wired to the output tunnel in one or more cases. Only one frame of a Case structure is executed, so every frame must assign values to all the outputs.


The program indicates the errors originate at the two output tunnels going to the "y" input of the add function and the two output tunnels of the reset case structure.


I am new to labview. What does this mean and can anyone help fix it?
0 Kudos
Message 10 of 13
(6,283 Views)