Help Icon
Search Results for

    Show / Hide Table of Contents

    :INPut:GAIN:CH2

    Description

    This command gets or sets the gain (probe factor) of channel 2.

    Syntax

    :INPut<ch>:GAIN<tr>:CH2

    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 2 to 5 in GainPhase measurement.

    visaSession.write(':CALC:PAR:DEF GainPhase\n')
    visaSession.write(':INP:GAIN:CH2 5\n')
    

    Related commands

    :INPut:GAIN:CH1

    In this article
    Back to top Generated by DocFX