:INPut:GAIN:CH1
Description
This command gets or sets the gain (probe factor) of channel 1.
Syntax | Parameter |
---|---|
:INPut<ch>:GAIN<tr>:CH1 |
<numeric > |
Parameters | accepted format | allowed suffixes | possible Errors | description |
---|---|---|---|---|
<ch > |
{ 1 | empty } |
none |
Invalid channel index |
Currently only one channel is supported. Empty means 1 is used as default. |
<tr > |
{ 1 | empty } |
none |
Invalid trace index |
Currently only one trace is supported. Empty means 1 is used as default. |
<numeric > |
numeric value | none |
Settings conflict |
The gain as linear value. |
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 - P1Reflection |
no |
no |
Z - TSERies |
no |
no |
Z - TSHunt |
no |
no |
Presets
For presets please refer to Measurement Modes.
Sample usage
Set the gain of channel 1 to 5
in GainPhase measurement.
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":CALC:PAR:DEF GainPhase\n"); visaSession.RawIO.Write(":INP:GAIN:CH1 5\n");
Related commands
Related commands in the Automation Interface
ExternalProbeChannel1 (Gain)