LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a timer in labview?

Hi 

 

I want to measure time of an event which takes place between 'switching on' of two Boolean indicators.

Can anyone please tell me how can I do this?

0 Kudos
Message 1 of 4
(1,958 Views)

Hi Rkale,

 

there is the Time functions palette with a handful of functions dedicated to timing and timemeasurement...

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 2 of 4
(1,954 Views)

Try something like this

 

[Edit] Oops. Here is the image.

 

Example_VI_BD.png

=====================
LabVIEW 2012


0 Kudos
Message 3 of 4
(1,934 Views)

What I posted above is the typical way of timing how long that a piece of code takes to execute. After reading your question again this will probably not help much.

 

What you need is to record the time that each button was pressed in an event structure using a shift register. You can then take the difference.

=====================
LabVIEW 2012


0 Kudos
Message 4 of 4
(1,924 Views)