LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Upon reaching the threshold how to send a dig pulse out

How to send a digital pulse out after measure a certain input fron the analog acquisition. Say we are recording a breathing pattern and I want to operate a instrument when ever the max of breathing occured. In order to operate the instrument I need a trigger input for which the dig out put is used.
0 Kudos
Message 1 of 2
(2,610 Views)
If I understand correctly, you want an analog signal to set a digital trigger? How about looking for the max value from a pressure transducer which is basically a (not-so-clean) sine wave. You could actually feed it into a ADC and compare the values and use it to trigger itself. You could store earlier values into a buffer. You don;t need a big buffer if you are measuring someone's breath.

Question: What are you trying to measure in the breathing pattern? Frequency? Intensity? Both? Positive & negative pressures (inhale / exhale)?

What type of signal does the instrument take as an input? If analog, you could have an amplifier circuit feeding the signal from a pressure transducer directly to the instrument. If digital, then an ADC card would be useful
.

You can also be creative and use a digital IO board to send out the digital output (5V or 3.3V).

There are many options, but I do not have enough details to steer you into any direction.

-enjoy-

JLV
Message 2 of 2
(2,610 Views)