07-06-2012 06:48 AM
Hello,
I am trying to achieve the following: I have a TTL signal which goes on and off with (not exactly known) intervals of several milliseconds. Now I would like to have an analog output which does exactly the same, but with a voltage that I can set. I came up with the following, but it seems it is not fast enough. The rising edge is detected, but not always the falling edge is detected (it happens for example 5 ms after the rising edge). Is there any way to speed up this process?
Thank you very much.
07-06-2012 09:59 AM
A hardware solution would be an analog switch like the LTC221 or a buffer with enable
07-06-2012 10:44 AM
Thanks, but I would like to do it with the DAQ card I currently have (PCI-6229), it is not the only thing I want to synchronize to the input signal and I also later might need to be flexible in timing, voltage etc.
07-10-2012
05:08 AM
- last edited on
02-07-2025
03:19 PM
by
Content Cleaner
Hi,
you can use a device which can do digital change detection. Some examples:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAn9SAG&l=en-US
--> see 3. DAQmx Hardware that Supports Change Detection (please check if a TTL signal is needed or if only a digital signal is ok)
DAQmx Read Digital Channel- Change Detection Clock: