Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ task

Can one Task create two  channel?because i have two kinds of channel to be used in my application.One is the differential.The other is NRSE,So i use following step: 1.create task first DAQmxCreateTask("ADTask",&mTaskHandle[ADTASK] 2.create differential channel:DAQmxCreateAIVoltageChan(mTaskHandle[ADTASK],"dev1/ai0",DAQmx_Val_Diff,"ReadVoltage",,RangeMin
,RangeMax,DAQmx_Val_Volts,NULL),3Create NRSE channel DAQmxCreateAIVoltageChan(mTaskHandle[ADTASK],"dev1/ai1",DAQmx_Val_NRSE"ReadVoltage",,RangeMin
,RangeMax,DAQmx_Val_Volts,NULL),
if i do like that,Can the task work normal?
0 Kudos
Message 1 of 2
(2,756 Views)

If all channels are using the same A/D converter it will work. You need to configure all analog in channels to be in the same task.

If the channels you wish to measure are on separate ADC's you need to have several tasks.

Hope it helps.

Pelle S
Account Manager
National Instruments Sweden
0 Kudos
Message 2 of 2
(2,747 Views)