Help Icon
Search Results for

    Show / Hide Table of Contents

    :SOURce:POWer:MODE

    Description

    Gets or sets the sources power mode defining if the :SOURce:POWer will be used or the more flexible source shaping (:SOURce:POWer:LIST:AMPLitude, :SOURce:POWer:LIST:FREQuency).

    • Command
    Syntax Parameter
    :SOURce<ch>:POWer:MODE { FIXed | LIST }
    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.
    { FIXed | LIST } FIXed or LIST none Illegal parameter value FIXed for :SOUR:POW or LIST for the more flexible source shaping (:SOUR:POW:LIST:AMPL, :SOURce:POWer:LIST:FREQuency)

    Presets

    default value
    { FIXed | LIST } FIXed
    • Query
    Syntax Response
    :SOURce<ch>:POWer:MODE? { FIXed | LIST }
    Parameters accepted format description
    <ch> { 1 | empty } Currently only one channel is supported. Empty means 1 is used as default.
    Response value description
    { FIXed | LIST } FIXed for :SOURce:POWer or LIST for the more flexible source shaping :SOURce:POWer:LIST:AMPLitude

    Sample usage

    Set the power mode to LIST (shaped level). The shaped level points will be defined at 100Hz applying 0dBm and at 1kHz applying 10dBm respectively.

    • C#
    var visaSession = new TcpipSocket(VISA_RESOURCENAME);
    visaSession.RawIO.Write(":CALC:PAR:DEF GainPhase\n");
    visaSession.RawIO.Write(":SOUR:POW:MODE LIST\n");
    visaSession.RawIO.Write(":SOUR:POW:LIST:FREQ 100Hz, 1000Hz\n");
    visaSession.RawIO.Write(":SOUR:POW:LIST:AMPL 0dBm, 10dBm\n");
    
    • Python
    visaSession.write(':CALC:PAR:DEF GainPhase\n')
    visaSession.write(':SOUR:POW:MODE LIST\n')
    visaSession.write(':SOUR:POW:LIST:FREQ 100Hz, 1000Hz\n')
    visaSession.write(':SOUR:POW:LIST:AMPL 0dBm, 10dBm\n')
    

    Related commands

    :SOURce:POWer

    :SOURce:POWer:MODE

    :SOURce:POWer:LIST:FREQuency:POINts

    :SOURce:POWer:LIST:FREQuency

    :SOURce:POWer:LIST:AMPLitude:POINts

    :SOURce:POWer:LIST:AMPLitude

    In this article
    Back to top Generated by DocFX