Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I time the on state of a signal

Hi,
I have no LabView experience and have inherited a project. I simply want to record the time that a digital input is true and have the facility to reset the time back to zero for the next run. I found a stop watch VI but cannot modify it so that it:
 
will run when the signal is true
stop when the signal is false
Has a reset function to reset the accumulated time to zero
 
Thanks
0 Kudos
Message 1 of 5
(3,216 Views)

Hi,

I have written an example VI that should contain the functionality that you require.  I understand that you have little or no experience with LabVIEW, so please don’t hesitate to contact me if anything is unclear in the code.

I look forward to hearing from you.

Regards,

Ian
0 Kudos
Message 2 of 5
(3,183 Views)
Thanks Ian but unfortunately I can't open the VI. I am working on version 8.2.1
0 Kudos
Message 3 of 5
(3,167 Views)
Hi,
 
Sorry about that. This VI should run on your system.
 
Regards,
 
Ian

Message Edited by Ian Colman on 10-12-2007 04:48 AM

0 Kudos
Message 4 of 5
(3,164 Views)

Thanks Ian

That will do nicely

0 Kudos
Message 5 of 5
(3,143 Views)