beautypg.com

B&B Electronics PCI-1711 - Manual User Manual

Page 90

background image

Appendix C

– 82 –

PCI-1710 series User’s Manual

Advantech Co., Ltd.
www.advantech.com

Example 2

If the start scan channel is AI13 and the stop scan channel is AI2, then
the scan sequence is AI13, AI14, AI15, AI0, AI1, AI2, AI13, AI14,
AI15, AI0, AI1, AI2, AI13, AI14...

The scan logic of the PCI-1710/1710L/1710HG/1710HGL/1716/1716L
card is powerful and easily understood. You can set the gain code, B/U
and S/D, for each channel. For the Analog Input function, we set two
AI channel AI ( i= 0, 2, 4, ...,14) work as a pair. 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
...

Warning!
✎ Only even channels can be set as differential. An odd channel will

become unavailable if its preceding channel is set as differential.
Only for PCL-1710/1710L/1710H/1710HG/1710HGL/1716/1716L