LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Current Duration Measurement

Solved!
Go to solution

Hello all,

I am new to labview.

I want to measure the time of duration of the current that comes from the input of my DAQ input channel, and use this time to make decision.

How do I measure the the time duration?

 

Thanks!

0 Kudos
Message 1 of 7
(3,774 Views)

@jue wrote:

Hello all,

I am new to labview.

I want to measure the time of duration of the current that comes from the input of my DAQ input channel, and use this time to make decision.

How do I measure the the time duration?

 

Thanks!


Be specific to your question do you want to measure the time duration of current? What does it mean please explain a bit more.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 7
(3,759 Views)

I have an on/off switch to control the current input to the DAQ. And I want to measure how long that switch stayed on, in other words, how much time did the current flow. And in Labview, I want use this time to be a variable to program. For example, if the time is >1s, x>y, if time <1s, x<y. How can I measure this time. Thanks!

0 Kudos
Message 3 of 7
(3,746 Views)
Solution
Accepted by topic author jue

If you are using DAQ in host you can take the system time (Elasped time). So when the switch goes high start the timer and stop it once it goes low.

 

time between switch ON_Off.png

 

Time in seconds indicator gives you the time interval between the switching action

 

Good luck

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 7
(3,742 Views)

Thank you very much!

0 Kudos
Message 5 of 7
(3,736 Views)

What should I do if I want to see the instant elasped time?

0 Kudos
Message 6 of 7
(3,710 Views)

See the attached example.

 

Time Elasped.png

 

 

-----

The best solution is the one you find it by yourself
0 Kudos
Message 7 of 7
(3,700 Views)