Hi,
I am not sure if this should be here or in the DAQmx forum. I have an application reading and writing digital lines on a USB-6281. Is it possible to change the order of the digital lines read.
DAQmxCreateDOChan(taskOut, "Dev1/port1/line1","DigIn1", DAQmx_Val_ChanPerLine);
DAQmxCreateDOChan(taskOut, "Dev1/port1/line0","DigIn0", DAQmx_Val_ChanPerLine);
So when I read using
DAQmxReadDigitalLines(taskOut, 1, 0.010, DAQmx_Val_GroupByScanNumber,
data, 16, &numRead, &bytesPerSamp, NULL);
data[0] is from line1 and data[1] is from line 0?