LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

detect fall of analog input signal

How can I detect fall of my 0-5V TTL signal that I have connected to one of the analog inputs? I want the labview code to give me true if there is fall and 0 elsewise.
0 Kudos
Message 1 of 3
(2,649 Views)
Try using the Amplitude and Levels VI under signal processing > Wfm Measurement.  It will measure the amplitude and the it can give you the high level state and the low level state (max and min).

You can then wire the amplitude to a case structure, if it is 5V, then output a 0, if it is less, it will output a 1.

Kenny
Kenny

0 Kudos
Message 2 of 3
(2,646 Views)

Am I correct in assuming that you want to monitor the incoming analog signal and set a flag when the signal goes from 5v to 0v?

If so then use the following code:

 

Message Edited by tbob on 02-08-2006 04:41 PM

- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 3
(2,631 Views)