09-21-2019 09:36 AM
Hello All,
I am new to this Labview, but I see quite a lot of help and experts available on this forum.
I have a 6321 PCIe card, to take an input voltage signal TTL (5 Volt fixed) or a triangular wave function (shown top figure as Input timing for the output signal), I would like to use this TTL timing to modulate my Analog output signal (ranges from 0-2 V).
1- I would like to keep my output signal delay from input signal both ends of the Input signal (indicated by dotted vertical lines).
2- Delay something I can change.
3- Output voltage amplitude levels can be changed (indicated by bottom gray blocks).
4- I can't use NIDAQ MAX driver since its been used by other control software.
Please advice, and let me know if the questions are not clear or need further details!
Thanks,
Anand Singh
09-22-2019 07:58 PM
Hello Everyone,
I found a partial solution to the question I asked above. I am attaching my VI and output fig.
Let me explain it in details
Card- NI PCI 6110
As you can see the white lines (AO0) signal is shifted in time. I would like to sync white signal to RED/Green signal (in time).
Please help me improve my code and error!
I appreciate your kind help. Let me know if the details I provided are not enough/need more information.
Thanks and kind regards,
Anand
09-22-2019 08:00 PM
Correction- White became Black after saving the file.
09-24-2019 10:42 AM
Hi AnandSingh,
If I understand correctly, what you are trying to fix is getting the square waves synced to each other in order to mitigate the jitter I can see in the attached image. For this use case, I think you may need an FPGA or RIO card in order to do this in real time. What sort of timing are we looking and and what sort of precision do you need time-wise?
09-28-2019 12:27 PM
Thanks for reply and suggestion.
I still believe that it is possible to get Input trigger from one the AI channels in 6321 card and use the time stamp to get sync output signal. I am still looking for different examples and trying to work it out.
Will post something works.
Thanks,
Anand