From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Latching a signal

Hello,

I am am new to labview but am experienced with visual basic. I want to
record the time that a signal goes true and the time that the same signal
goes false and display the number of milliseconds between the events. I was
trying to use local variables and two case structures without luck. Can
someone post a simple VI that does this so I can learn from it?

Much appreciated
Doug Richardson
0 Kudos
Message 1 of 2
(2,422 Views)
This VI does what I wanted. Labview variables are kind of strange but work
fine.

"Doug Richardson" wrote in message
news:s511vkn75334@corp.supernews.com...
> Hello,
>
> I am am new to labview but am experienced with visual basic. I want to
> record the time that a signal goes true and the time that the same signal
> goes false and display the number of milliseconds between the events. I
was
> trying to use local variables and two case structures without luck. Can
> someone post a simple VI that does this so I can learn from it?
>
> Much appreciated
> Doug Richardson
>
>



[Attachment latch.vi, see below]
0 Kudos
Message 2 of 2
(2,422 Views)