Doc. # 1-0002849 | |||
---|---|---|---|
Date Updated | 05-23-2007 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | PCI-1710HG/ PCI-1710HGU/ PCI-1710U/ PCI-1710UL/ PCI-1716/ PCI-1716L |
The logic of the channel scan while combining "Differential" and "Single-Ended" | |||
---|---|---|---|
Solution:
In the PCI AI cards, 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
...
After the explanation, we believe you will be able to specify the channel you need in your applications.
Note : 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
|