I want to record 2 signals sometimes the same and sometimes different on channel A and B. i have been trying to figure out how to print the buffer values into separate files. Im always setting the channel to sample every 10us with no aggregation, in ac mode and channel range is 500mv. Which is all ok for the signals I'm measuring.
Am i right in thinking that buffers[j] j is the port (0 or 1 in my case with 2206) and i is the position in the buffer?
because as a test i have only channel A connected and when i retrieve data from the buffers like this: