From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measure

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use an analog signal to conditionally generate a TTL(or square function) signal?

Solved!
Go to solution

Hi everyone,

 

I am using PCI-6229 and trying to develop a code that can generate a TTL/square function signal as soon as one analog input satisfies following conditions: 1. Crossing a certain value (say, 0 V); 2. Falling edge slope. The time delay between the crossing point and newly generated TTL/square signal will be critical in my measurement, and it should not exceed 1 millisecond. Any suggestion on it? Thank you in advance!

0 Kudos
Message 1 of 3
(6,483 Views)
Solution
Accepted by topic author Matt11

Are you actually using the Excel add-on called Measure? That is what this board is for. Otherwise, you should post to the Multifunction DAQ board and mention the language that you are using.

0 Kudos
Message 2 of 3
(6,482 Views)

Thank you, Dennis. I think you are right, and I should have posted it on DAQ board. Thanks again!

0 Kudos
Message 3 of 3
(6,475 Views)