NI Home > Community > NI Discussion Forums

Measure

Showing results for 
Search instead for 
Do you mean 
Reply
Member
Matt11
Posts: 10
0 Kudos
Accepted Solution

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

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!

Knight of NI
Dennis_Knutson
Posts: 33,416
0 Kudos

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

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.

Member
Matt11
Posts: 10
0 Kudos

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

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