KPCMCIA-12AIAOH User’s Manual
I/O Registers
C-7
Example 1
Refer to Table C-7. The following entries to the queue specify a scan list of three single-ended
internal channels: 0, 12, and 7. Channel 0 has a gain of 10, and channels 12 and 7 have a gain
of 100.
Example 2
Refer to Table C-8. The following entries to the queue specify a scan list of four differential inter-
nal channels: 2, 1, 6, and 7. Each channel has a gain of 1.
Channel configuration
Bits 4 and 5 (LSB) in a queue entry specify the gain on the external expansion card for the external
channel selected by bits 3 through 0 of the same byte. Each expansion card has up to 16 channels
(0, 1, 2, ... 15). Each channel may have up to four gain options: 1, 2, 4, or 8 if it is a low gain
expansion card. 1, 10, 100, or 1000 if it is a high gain expansion card.
If there is no expansion card for the specified internal channel, the external channel and gain
selection in the LSB will be ignored. However, the first channel mark on bit 7 should always be
set properly.
The internal channel is selected by bits 8 through 11 (MSB), while the internal gain for the
selected channel is specified by bits 12 and 13 (MSB). The internal gain can only be 1, 10, 100,
or 1000.
Bit 14 (MSB) determines whether the input is differential (1) or single-ended (0). There are 16
singled-ended channels but only eight differential channels. This bit should always be set to 0 if
the selected internal channel is connected to an expansion card because the output from the
expansion cards is always single-ended.
Bit 15 (MSB) is not used by the KPCMCIA-12AIAOH PC card. It should be set to 0.
Table C-7
Scan list queue programming example 1
Entry
Binary
Hex
Explanation
1
0001 0000 1000 0000
0180
Select channel 0, gain 10, first entry
2
0010 1100 0000 0000
2C00
Select channel 12, gain 100
3
0010 0111 0000 0000
2700
Select channel 7, gain 100
Table C-8
Scan list queue programming example 2
Entry
Binary
Hex
Explanation
1
0100 0010 1000 0000
4280
Select channel 2, gain 1, first entry
2
0100 0001 0000 0000
4100
Select channel 1, gain 1
3
0100 0110 0000 0000
4600
Select channel 6, gain 1
4
0100 0111 0000 0000
4700
Select channel 7, gain 1
Содержание KPCMCIA-12AIAOH
Страница 11: ...1 Introduction...
Страница 15: ...2 Installation...
Страница 17: ...3 Theory of Operation...
Страница 25: ...4 I O Connections...
Страница 28: ...5 Optional Accessories...
Страница 30: ...A Specifications...
Страница 33: ...B PCMCIA Interface...
Страница 36: ...C I O Registers...