01-17-2019 10:04 PM
Hello guys:
I am trying to create a task to read several analog input at the same time. With the following code,the data I received will be saved in parameter Sdata;But the data comes from multiple channels and I can't Distinguish which channel the data comes from.Is there any method likes "key--value"
or any other functions?
Thanks
And finally,please regard me as my English is so poor;
*****************************
int32 read=0;
float64 Sdata[6000];
DAQmxReadAnalogF64(taskHandle,1000,10.0,DAQmx_Val_GroupByScanNumber,Sdata,6000,&read,NULL)
*****************************
Best
01-21-2019 07:31 PM
Hi,
I think this example will be useful:
It saves data from each channel to a different column.