:CHANnel:ATTenuation?

Query Syntax

:CHANnelN:ATTenuation?

Where N identifies a specific channel in the form "<connection1-8>_<ch1-8>". With connection 1, the connection number part (that is, "1_") is optional, and you can simply use the channel number "<ch1-8>". For example, connection 4 channel 2 is CHANnel4_2.

Description

The query returns, as an attenuation ratio (to 1), the total attenuation/gain/dB of the channel including all probes, accessories, and external scaling.

You can also return the channel's total attenuation/gain/dB using the :CHANnel:GAIN? or :CHANnel:DB? commands, respectively. These commands give you three ways of interpreting the same setting.