Odd multi-channel behavior
I've developed a pretty robust Python3 interface for the DI-1100 for a project I'm working on. The device works really well. I like it a lot, and I can get arbitrarily high sampling rates with efficient Python code.
However, when I use multiple channels, the channels after the first one have a two-sample offset (delay). This is consistent regardless of sampling rate. Attached are screenshots of the captures with a 500Hz sinusoid and sampling rates of 2kHz and 8kHz. You can see the 2-sample "skew" at the left edge of the time plot.
Is this related to something I'm doing wrong with the setup of the device, or do I need to align the channels in some fashion?
Here is my setup for the device to get 2kHz sampling rate:
Found a DataQ device on /dev/ttyACM0
Cmd / Echo: stop / stop
Cmd / Echo: encode 0 / encode 0
Cmd / Echo: ps 0 / ps 0
Cmd / Echo: info 9 / info 9 60000000
Cmd / Echo: dec 1 / dec 1
Cmd / Echo: deca 1 / deca 1
Cmd / Echo: filter 0 / filter 0
Cmd / Echo: slist 0 0 / slist 0 0
Cmd / Echo: slist 1 1 / slist 1 1
Cmd / Echo: slist 2 2 / slist 2 2
Cmd / Echo: srate 30000 / srate 30000
Cmd / Echo: srate / srate 30000