Help Icon
Search Results for

    Show / Hide Table of Contents

    :INPut:ATTenuation:CH2

    Description

    This command gets or sets the attenuation of channel 2.

    Syntax

    :INPut<ch>:ATTenuation<tr>:CH2

    Command Query
    Query Response
    Yes Yes The attenuation value in dB
    Parameters Accepted Format Allowed Suffixes Possible Errors Description
    <numeric> numeric value none none The attenuation in dB.

    To learn more about channels and traces, please refer to the SCPI command structure

    Accepted values

    Warning

    Not all attenuation values are valid. For a list of possible values please refer to Measurement Modes and Default Settings.

    Presets

    For presets please refer to Measurement Modes and Default Settings.

    Sample usage

    Set the attenuation of channel 2 to 10dB.

    visaSession.write(':CALC:PAR:DEF S21\n')
    visaSession.write(':INP:ATT:CH2 10\n')
    

    Related commands

    :INPut:ATTenuation:CH1

    In this article
    Back to top Generated by DocFX