Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

cDAQ9188 in C

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(3,296 Views)
Solution
Accepted by topic author ASIM_BHATTI

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,

Kaitlin N.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,259 Views)

Dear Kaitlin N.

 

Thanks, It works fine

 

0 Kudos
Message 3 of 4
(3,240 Views)

Great! Thanks for letting me know!

Kaitlin N.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,232 Views)