NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


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: 29,306
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!

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page