07-13-2021 06:13 AM
Hi all,
I am using NI USB-6259 DAQ with 4 AO channels and many AI. Is it possible to measure or acquire those signals generated through AOs after passing some resistors or loads with AI channels simultaneously? My VI for 4 AO generation is attached however I don't know how to modify it for acquisition as well if possible at all.
Any help or advice is greatly appreciated.
07-13-2021 09:00 AM
Yes, this is possible with DAQmx. I've done it myself. What I did was to use the same clock source for both the AO and AI tasks. This does mean that both tasks will run at the same sample rate though. I have the source code on my personal laptop so I can't get to it right now but I'll try to post it later today.
There are ways to do this without using the same clock source but the tasks won't be as well synchronized.
07-13-2021 03:22 PM
I've been in a lot of threads about this stuff but could only manage to find one of my prior examples, over here. It's for a little different situation than yours, but includes the important parts. Read more of the thread for some further explanation.
I'm sure there are other, better examples to point to, I just didn't find them in the quick search I could do.
-Kevin P