Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

AO generation and AI measure/aquire simlutaneously

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. 

0 Kudos
Message 1 of 3
(1,276 Views)

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.

0 Kudos
Message 2 of 3
(1,241 Views)

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

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 3 of 3
(1,231 Views)