07-08-2013 11:27 AM - edited 07-08-2013 11:46 AM
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
07-08-2013 12:01 PM - edited 07-08-2013 12:01 PM
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
07-09-2013 03:16 PM
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!