ADwin-Gold II
, Manual February 2013
71
Analog Inputs and Outputs
Set_Mux2
ADwin
Set_Mux2
Set_Mux2
sets the ADC2 multiplexer to the specified measurement channel
and to the specified gain.
Syntax
#INCLUDE
ADwinGoldII.inc / GoldIITiCo.inc
Set_Mux2
(
pattern
)
Parameters
Notes
Please consider that when setting the multiplexer to another channel a
specified settling time is required. You should only start the conversion
after this settling time has elapsed.
Multiplexer settling time and conversion time are given on
It is preferable to use a binary code (suffix "b") for the bit pattern. This
will make it easier to display the bit pattern than if you use a decimal or
hexadecimal representation although it is still possible to use these.
See also
,
,
,
Valid for
Gold II
T11 TiCo
pattern
Bit pattern for the allocation of measurement
channels and gain.
LONG
Bit
no
.
31…5
4
3
2
1
0
–
PGA 2
MUX 2
PGA 2
Bits 3…4 determine the gain factor:
00: factor 1
01: factor 2
10: factor 4
11: factor 8
MUX 2
Bits 0…2 determine the channel to which the mul-
tiplexer is set:
000: channel 2
001: channel 4
010: channel 6
011: channel 8
100: channel 10
101: channel 12
110: channel 14
111: channel 16