Help Icon
Search Results for

    Show / Hide Table of Contents

    :SENSe:Z:METHod

    Description

    This command selects the measurement type of the impedance measurement (Z in :CALCulate:PARameter:DEFine). For more details about the different measurement types please refer to the general info page about measurements ( Measurement Types ).

    Important

    The standard behaviour of this method is that the input parameters (gain, attenuation, termination, ...) are kept. The optional DEFault parameter allows to apply measurement relevant default (preset) settings.

    • Command
    Syntax Parameter
    :SENSe<ch>:Z:METHod { P1Reflection | TSHunt | TSERies | ECOupler | EBRidge | IADapter | VCGain }[,DEFault]
    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.
    { P1Reflection | TSHunt | TSERies | ECOupler | EBRidge | IADapter | VCGain } exactly the given options none Illegal parameter value The measurement to perform
    [optional] DEFault exactly the given options none Illegal parameter value If applied the input parameters (gain, attenuation, termination, ...) are ALWAYS set to the default values; otherwise the settings from the previous measurement will be kept.
    • Query
    Syntax Response
    :SENSe<ch>:Z:METHod? { P1Reflection | TSHunt | TSERies | ECOupler | EBRidge | IADapter | VCGain }
    Parameters accepted format description
    <ch> { 1 | empty } Currently only one channel is supported. Empty means 1 is used as default.
    Response value description
    { P1Reflection | TSHunt | TSERies | ECOupler | EBRidge | IADapter | VCGain } The measurement type.

    Options

    Options Description
    P1Reflection Port 1 Reflection measurement.
    TSERies Series Thru measurement.
    TSHunt Shunt Thru measurement.
    ECOupler S11 external coupler measurement.
    EBRidge External Bridge Impedance measurement.
    IADapter Impedance Adapter measurement.
    VCGain Voltage Current Gain measurement.

    Presets

    default value
    { P1Reflection | TSHunt | TSERies | ECOupler | EBRidge | IADapter | VCGain } P1Reflection

    Sample usage

    Configure and start a P1Reflection measurement.

    • C#
    var visaSession = new TcpipSocket(VISA_RESOURCENAME);
    visaSession.RawIO.Write(":CALC:PAR:DEF Z\n");
    visaSession.RawIO.Write(":SENS:Z:METH P1R\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 Z\n')
    visaSession.write(':SENS:Z:METH P1R\n')
    visaSession.write(':TRIG:SING\n')
    visaSession.query('*OPC?\n')
    frequencyValues = visaSession.query(':SENS:FREQ:DATA?\n')
    measurementValues = visaSession.query(':CALC:DATA:SDAT?\n')
    
    In this article
    Back to top Generated by DocFX