:INPut:ATTenuation:CH2
Description
This command gets or sets the attenuation of channel 2.
Syntax | Parameter |
---|---|
:INPut:ATTenuation:CH2 |
<numeric > |
Parameters | accepted format | allowed suffixes | possible Errors | description |
---|---|---|---|---|
<numeric > |
numeric value | none |
none |
The attenuation in dB . |
Accepted values
Warning
Not all attenuation values are valid. For a list of possible values please refer to Measurement Modes.
Presets
measurement type | CH1 - default value |
CH2 - default value |
---|---|---|
GainPhase |
20 dB |
20 dB |
S11 |
10 dB |
10 dB |
S21 |
20 dB |
20 dB |
Z - P1Reflection |
10 dB |
10 dB |
Z - TSERies |
20 dB |
20 dB |
Z - TSHunt |
20 dB |
20 dB |
Sample usage
Set the attenuation of channel 2 to 10dB
.
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":CALC:PAR:DEF S21\n"); visaSession.RawIO.Write(":INP:ATT:CH2 10\n");
Related commands
Related commands in the Automation Interface
Attenuation (Gain)
Attenuation (OnePort)
Attenuation (S11)
Attenuation (S21)
Attenuation (SeriesThru)
Attenuation (ShuntThru)