
74
(c) Spectrum Instrumentation GmbH
Channel Selection
Analog Inputs
M2p.59x2, M2p.59x3:
M2p.59x0, M2p.59x1, M2p.59x6:
1 differential channel enabled
The following table shows all allowed settings for the channel enable register when only activating one channel
2 differential Channels enabled
The following table show all allowed settings for the channel enable register when activating two channels
4 differential channels enabled
The following table show all allowed settings for the channel enable register when activating four channels
Mixed single-ended and differential inputs
It is also possible to have a mixed setup of differential and single-ended channels. If in any of the above shown differential channel combi
-
nation one or multiple channels should be single-ended instead, simply do not set the related SPC_DIFFx register.
Important note on channel selection
As some of the manuals passages are used in more than one hardware manual most of the registers and
channel settings throughout this handbook are described for the maximum number of possible channels that
are available on one card of the current series. There can be less channels on your actual type of board or
bus-system. Please refer to the technical data section to get the actual number of available channels.
Table 24: Spectrum API: registers for differential mode setup, card with multiplexed channels (one differential or two single-ended)
Register
Value
Direction
Description
SPC_DIFF0
30040
r/w
Set channel 0 to differential mode using channel 1 as negative input. The default mode is single-ended.
SPC_DIFF2
30240
r/w
Set channel 2 to differential mode using channel 3 as negative input. The default mode is single-ended.
SPC_DIFF4
30440
r/w
Set channel 4 to differential mode using channel 5 as negative input. The default mode is single-ended.
SPC_DIFF6
30640
r/w
Set channel 6 to differential mode using channel 7 as negative input. The default mode is single-ended.
Table 25: Spectrum API: registers for differential mode setup, card with multiplexed channels (one differential or one single-ended)
Register
Value
Direction
Description
SPC_DIFF0
30040
r/w
Set channel 0 to differential mode. The default mode is single-ended.
SPC_DIFF1
30140
r/w
Set channel 1 to differential mode. The default mode is single-ended.
SPC_DIFF2
30240
r/w
Set channel 2 to differential mode. The default mode is single-ended.
SPC_DIFF3
30340
r/w
Set channel 3 to differential mode. The default mode is single-ended.
Channels to activate
Card Types
Value to program
SPC_DIFFx register to be
enabled
0 1 2 3 4 5 6 7
59x0
59x1
59x6
59x2
59x3 Constant from regs.h
hex
decimal
X
X
X
X
X
X
CHANNEL0
01h
1 SPC_DIFF0
X
n.a.
X
X
n.a.
n.a.
CHANNEL1
02h
2 SPC_DIFF1
X
n.a.
n.a.
X
X
X
CHANNEL2
04h
4 SPC_DIFF2
X
n.a.
n.a.
X
n.a.
n.a.
CHANNEL3
08h
8 SPC_DIFF3
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL4
10h
16 SPC_DIFF4
X
n.a.
n.a.
n.a.
n.a.
n.a.
CHANNEL5
20h
32 SPC_DIFF5
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL6
40h
64 SPC_DIFF6
X
n.a.
n.a.
n.a.
n.a.
n.a.
CHANNEL7
80h
128 SPC_DIFF7
Channels to activate
Card Types
Value to program
SPC_DIFFx register to be
enabled
0 1 2 3 4 5 6 7
59x0
59x1
59x6
59x2
59x3 Constant from regs.h
hex
decimal
X
X
n.a.
X
X
n.a.
n.a.
CHANNEL0 | CHANNEL1
03h
3 SPC_DIFF0, SPC_DIFF1
X
X
n.a.
n.a.
X
X
X
CHANNEL0 | CHANNEL2
05h
5 SPC_DIFF0, SPC_DIFF2
X
X
n.a.
n.a.
X
n.a.
n.a.
CHANNEL0 | CHANNEL3
09h
9 SPC_DIFF0, SPC_DIFF3
X
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL0 | CHANNEL4
11h
17 SPC_DIFF0, SPC_DIFF4
X
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL0 | CHANNEL6
41h
65 SPC_DIFF0, SPC_DIFF6
X
X
n.a.
n.a.
X
n.a.
n.a.
CHANNEL1 | CHANNEL2
06h
6 SPC_DIFF1, SPC_DIFF2
X
X
n.a.
n.a.
X
n.a.
n.a.
CHANNEL1 | CHANNEL3
0Ah
10 SPC_DIFF1, SPC_DIFF3
X
X
n.a.
n.a.
X
n.a.
n.a.
CHANNEL2 | CHANNEL3
0Ch
12 SPC_DIFF2, SPC_DIFF3
X
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL2 | CHANNEL4
14h
20 SPC_DIFF2, SPC_DIFF4
X
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL2 | CHANNEL6
44h
68 SPC_DIFF2, SPC_DIFF6
X
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL4 | CHANNEL6
50h
80 SPC_DIFF4, SPC_DIFF6
Channels to activate
Card Types
Value to program
SPC_DIFFx register to be
enabled
0 1 2 3 4 5 6 7
59x0
59x1
59x6
59x2
59x3 Constant from regs.h
hex
decimal
X
X
X
X
n.a.
n.a.
X
n.a.
n.a.
CHANNEL0 | CHANNEL1 |
CHANNEL2 | CHANNEL3
0Fh
15 SPC_DIFF0, SPC_DIFF1,
SPC_DIFF2, SPC_DIFF3
X
X
X
X
n.a.
n.a.
n.a.
n.a.
X
CHANNEL0 | CHANNEL2 |
CHANNEL4 | CHANNEL6
55h
85 SPC_DIFF0, SPC_DIFF2,
SPC_DIFF4, SPC_DIFF6
Содержание M2p.59 Series
Страница 190: ......