LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone help fix my laptimer

I would be really greatful if anyone could suggest a way to make my laptimer work.
 
I want to be able to reset that lap time when the lap button is pressed. Because of the loop structure i have i cannot pass the boolen trigger into the second while loop. Would an invoke node help? Im new to labview and so i dont really understand why this is not allowed.
 
Thanks in adavance for any assistance.
 
Matt
0 Kudos
Message 1 of 5
(2,512 Views)
Run this attached VI.
 
I must admit that I "kind of vaguely understood"  what you are trying to achieve and designed this program.
each time you press Reset Lap buton, the lap numer is incremented and the lap time display starts from 0:00:00
 
Fine tune it as per your requirement
 
Any doubts, do ask
 
Regards
 
Dev
0 Kudos
Message 2 of 5
(2,505 Views)
Hello Matt,

you should be aware that LabVIEW has Dataflow, the inner while loop will read each iteration the data of the lap button as it was at the first time you should move the button insde the while loop together with the stop button.

Have a look at the attachement.

Ton

OR you could the whole way like devchander is showing.....Smiley Mad

Message Edited by TonP on 03-22-2006 01:33 PM

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 5
(2,503 Views)

Here his another example.

Enjoy it.

Bye

CLD - Labview Certified Developer
0 Kudos
Message 4 of 5
(2,501 Views)
Thank you very much for your help,

I will have a look at all the examples and see what works best with the rest of my Vi.

Thanks again.

Matt
0 Kudos
Message 5 of 5
(2,483 Views)