Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple AI-AO synch

Hello folks,

 

I am trying to obtain 3 AI channels simultaneously while sending 1 AO signal at the same time.  I have found a detailed descritption of 1 AO and 1 AI running simultaneously here, but I do not know how to exapand the following multi-function synchronization example code (also attached) so that it can run 1 AO while reading 3 AI at the same rate??  I would also like to be able to I really need some help and your response would be much appreciated.

 

Best,

Robert

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

I have found an example on the forums that is able to synchronize multi-function AI & AO without regeneration signals in DAQmx.  Attached is the example.  Is there any way to modify this code to write 1 non-regenerative AO while reading 3 AI?  or is 1 AI & 1 AO the limit?  Your help is much appreciated

 

Thanks,

Robert

0 Kudos
Message 2 of 3
(3,560 Views)

Robert,

 

You should be able to acquire on 3 analog input channels simultaneously (device allowing) by specifying the channels in the Input Physical Channel control on the front panel. For instance, if you would like to acquire on ai0, ai1, and ai2, you simply need to put "Dev1/ai0:2" in the Input Physical Channel control. Hope this helps!

 

Input Multiple Channels

Robert B
RF Product Support Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,537 Views)