Help Icon
Search Results for

    Show / Hide Table of Contents

    :SENSe:BANDwidth[:RESolution]

    Description

    This command gets or sets the receiver bandwidth resolution. It is defined as the bandwidth of the predetection bandpass filtering.

    Note

    The behavior of this command is the same as the behavior of :SENSe:BWIDth[:RESolution].

    • Command
    Syntax Parameter
    :SENSe<ch>:BANDwidth[:RESolution] <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.
    { <numeric> | MINimum | MAXimum } Valid value range Hz Numeric data error The bandpass resolution

    Valid value range

    Not all numeric values are supported. Valid values for the receiver bandwith are listed in the ReceiverBandwidth 'Fields' table. Be aware that the values need to be in Hz (e.g. for a 1Hz receiver bandwith (Hz1 = 1000) use 1Hz (as declared on the left hand side of the table)).

    Important

    If the specified parameter is out of the allowable setup range, the parameter will be rounded to the nearest possible value.

    • Query
    Syntax Response
    :SENSe<ch>:BANDwidth[:RESolution]? <numeric>
    Parameters accepted format description
    <ch> { 1 | empty } Currently only one channel is supported. Empty means 1 is used as default.
    Response value description
    <numeric> value of bandpass resolution in Hz

    Presets

    For presets please refer to Measurement Modes and Default Settings.

    Sample usage

    Configure and start an S21 sweep measurement with receiver bandpass resolution of 3kHz.

    • C#
    var visaSession = new TcpipSocket(VISA_RESOURCENAME);
    visaSession.RawIO.Write(":CALC:PAR:DEF S21\n");
    visaSession.RawIO.Write(":SENS:BAND 3kHz\n");
    visaSession.RawIO.Write(":TRIG:SING\n");
    // wait for the measurement to finish
    visaSession.RawIO.Write("*OPC?\n");
    visaSession.RawIO.ReadString();
    visaSession.RawIO.Write(":SENS:FREQ:DATA?\n");
    var frequencyValues = visaSession.RawIO.ReadString();
    visaSession.RawIO.Write(":CALC:DATA:SDAT?\n");
    var measurementValues = visaSession.RawIO.ReadString();
    
    • Python
    visaSession.write(':CALC:PAR:DEF S21\n')
    visaSession.write(':SENS:BAND 3kHz\n')
    visaSession.write(':TRIG:SING\n')
    visaSession.query('*OPC?\n')
    frequencyValues = visaSession.query(':SENS:FREQ:DATA?\n')
    measurementValues = visaSession.query(':CALC:DATA:SDAT?\n')
    

    Related commands

    :SENSe:BWIDth[:RESolution]

    In this article
    Back to top Generated by DocFX