182
8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
4
Measurement Operations & Settings
Signal Conditioning
The commands in this section allow you to control 8156x, and 8157x
Attenuator modules
The INPut and OUTput commands
command:
:INPut[
n
][:CHANnel[
m
]]:ATTenuation
syntax:
:INPut[
n
][:CHANnel[
m
]]:ATTenuation<wsp><value>[dB] | MIN | DEF | MAX
description:
Sets the attenuation factor (
a
)
for the instrument. The attenuation factor is used, together with an offset factor (
a
Offset
) to
set the filter attenuation (
a
filter
).
a
(new)
(dB) =
a
filter (new)
(dB)
+
a
Offset
(dB)
Set the attenuation factor by sending a value (the default units are dB), or by sending MIN, DEF, or MAX.
parameters:
<value>[dB]
MIN | DEF
MAX
The attenuation in dB.
The values where
a
filter
= 0dB
The value where
a
filter
is at its greatest.
response:
none
example:
INP1:ATT 14dB
affects:
All attenuator modules
command:
:INPut[
n
][:CHANnel[
m
]]:ATTenuation?
syntax:
:INPut[
n
][:CHANnel[
m
]]:ATTenuation?<wsp> MIN | DEF | MAX
description:
Returns the current attenuation factor (
a
), in dB.
a
(dB)
=
a
filter
(dB)
+
a
Offset
(dB)
parameters:
MIN | DEF | MAX
Returns the minimum, default, or maximum value of the attenuation factor possible.
response:
4 byte Intel floating point; attenuation in dB.
example:
INP1:ATT?
->
14
<END>
affects:
All attenuator modules