Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog Output has to follow analog input

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. 

0 Kudos
Message 1 of 4
(3,144 Views)

A hardware solution would be an analog switch like the LTC221 or a buffer with enable

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 4
(3,132 Views)

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.

0 Kudos
Message 3 of 4
(3,121 Views)

Hi,

 

you can use a device which can do digital change detection. Some examples:

 

Synchronize Multiple Devices with AI Start Trigger and Change Detection using DAQmx:

https://forums.ni.com/t5/NI-DAQmx-Examples/Synchronize-Multiple-Devices-with-AI-Start-Trigger-and-Ch...

 

Digital Change Detection in NI-DAQmx:

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:

https://forums.ni.com/t5/NI-DAQmx-Examples/DAQmx-Read-Digital-Channel-Change-Detection-Clock/td-p/35...

 

I hope this helps.

 

Best regards

Suse

______________________________
Certified LabVIEW Developer (CLD)
0 Kudos
Message 4 of 4
(3,097 Views)