I want to measure two channels at the same time with different voltage ranges:
DAQmxCreateAIVoltageChan(taskHandle,
"Dev1/0","", DAQmx_Val_Cfg_Default,minVal0,maxVal0,DAQmx_Val_Volts,NULL);
DAQmxCreateAIVoltageChan(taskHandle,
"Dev1/1","", DAQmx_Val_Cfg_Default,minVal1,maxVal1,DAQmx_Val_Volts,NULL);
when I read the results with DAQmxReadAnalogF64, the values of the second channel are scaled with the parameters of the first channel, for example:
channel0: [0 10]
channel1: [-0.1 0.1]
then the values from channel1 are between 0 and 10 instead of -0.1 and 0.1. Can someone help me?
Thanks