:INPut:GAIN:CH1
Description
This command gets or sets the gain (probe factor) of channel 1.
Syntax
:INPut<ch>:GAIN<tr>:CH1
| Command | Query | Query Response |
|---|---|---|
| Yes | Yes | The attenuation value |
| Parameters | Accepted Format | Allowed Suffixes | Possible Errors | Description |
|---|---|---|---|---|
<numeric> |
numeric value | none |
Settings conflict |
The gain as linear value. |
To learn more about channels and traces, please refer to the SCPI command structure
Warning
Only in certain measurement modes certain gain values can be changed. See Allowed Changes for further details.
Allowed Changes
| measurement type | CH1 |
CH2 |
|---|---|---|
GainPhase |
yes |
yes |
S11 |
no |
no |
S21 |
no |
yes |
Z - ECOupler |
yes |
yes |
Z - EBRidge |
yes |
yes |
Z - IADapter |
no |
no |
Z - P1Reflection |
no |
no |
Z - TSERies |
no |
no |
Z - TSHunt |
no |
no |
Z - VCGain |
yes |
yes |
Presets
For presets please refer to Measurement Modes and Default Settings.
Sample usage
Set the gain of channel 1 to 5 in GainPhase measurement.
visaSession.write(':CALC:PAR:DEF GainPhase\n')
visaSession.write(':INP:GAIN:CH1 5\n')