ADwin-Gold II
, Manual February 2013
69
Analog Inputs and Outputs
Set_Mux1
ADwin
Set_Mux1
Set_Mux1
sets the ADC1 multiplexer to the specified measurement channel
and to the specified gain.
Syntax
#INCLUDE
ADwinGoldII.inc / GoldIITiCo.inc
Set_Mux1
(
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 1
MUX 1
PGA 1
Bits 3…4 determine the gain factor:
00: factor 1
01: factor 2
10: factor 4
11: factor 8
MUX 1
Bits 0…2 determine the channel to which the mul-
tiplexer is set:
000: channel 1
001: channel 3
010: channel 5
011: channel 7
100: channel 9
101: channel 11
110: channel 13
111: channel 15