:INPut:GAIN:CH1
Description
This command gets or sets the gain of channel 1.
Syntax | Parameter |
---|---|
:INPut:GAIN:CH1 |
<numeric > |
Parameters | accepted format | allowed suffixes | possible Errors | description |
---|---|---|---|---|
<numeric > |
numeric value | none |
Settings conflict |
The gain as linear value. |
Warning
Only in certain measurement modes certain gain values can be changed. If setting the gain of the selected channel is not allowed in the selected measurement mode, the command is ignored and a Settings conflict
error is added to the Error Event Queue.
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
measurement type | CH1 - default value |
CH2 - default value |
---|---|---|
GainPhase |
1 |
1 |
S11 |
- | - |
S21 |
- | 1 |
Z - P1Reflection |
- | - |
Z - TSERies |
- | - |
Z - TSHunt |
- | - |
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)