01-11-2013 10:01 AM
Hello all
I am trying to run cDAQ9188 with 03 NI 9205 modules installed on it in single task (for auto synchronization) using C APIs given by NI. For single NI 9205 module installed on cDAQ9188, following works fine:
.........
DAQmxErrChk (DAQmxCreateTask("",&masterTaskHandle));
DAQmxErrChk (DAQmxCreateAIVoltageChan (masterTaskHandle,"cDAQMod1/ai0:31","",DAQmx_Val_Cfg_Default,-1.25,1.25,DAQmx_Val_Volts,NULL));
.........
When i install all 03 modules, i get cDAQMod1,cDAQMod2,cDAQMod3 device names. How should i define all three devices in "DAQmxCreateAIVoltageChan" API so that i can acquire all 96 channels in single task (with auto synchronization of three modules)?
Thanks
Best Regards
asim
Solved! Go to Solution.
01-14-2013 05:29 PM
Hi Asim,
I'm not certain, but I beleive it may be similar to:
DAQmxErrChk (DAQmxCreateTask("",&masterTaskHandle));
DAQmxErrChk (DAQmxCreateAIVoltageChan (masterTaskHandle,"cDAQMod1/ai0:31,cDAQMod2/ai0:31,cDAQMod3/ai0:31","",DAQmx_Val_Cfg_Default,-1.25,1.25,DAQmx_Val_Volts,NULL));
Let me know how this works.
Best regards,
01-17-2013 07:55 AM
Dear Kaitlin N.
Thanks, It works fine
01-18-2013 10:46 AM
Great! Thanks for letting me know!