Specifications

116
For example, the AI0 and AI1 is a pair. When in single-ended mode,
we can get data from AI0 and AI1 separately. But if we set them as
differential mode, the results polling AI0 and AI1 will be the same.
That is if we set the AI0 and AI1 as a differential input channel, we
can get the correct result no matter we polling channel 0 or channel
1.
But if we want to use the multiple channels input function, the things
will be a little bit different. If we set two AI channel as a differential
channel, it will be take as one channel in the data array. Since the
resulted data array of the multi-channel scan function is ranked with
the order of channel, let us give a example to make it more clear.
Now we set channel 0, 1 as differential and 2, 3 as single ended and
then 4,5 as differential mode. And we set the start channel as channel
0 and number of channel as 4, the result will be
##.#### -> channel 0,1
##.#### -> channel 2
##.#### -> channel 3
##.#### -> channel 4,5
##.#### -> channel 0,1
##.#### -> channel 2
##.#### -> channel 3
##.#### -> channel 4,5
##.#### -> channel 0,1