Help Icon
Search Results for

    Show / Hide Table of Contents

    :MMEMory:STORe:CORRection

    Description

    Allows to store user-range and full-range calibration data to the device when connected to a Bode 500 device or to the local file system when measuring with Bode 100.

    Important

    In case of Bode 100 devices the parameter must represent a valid file format and must have '.mcalx' file extension. If no path information is provided the calibration file will be stored in the default directory C:\ProgramData\OMICRON_Lab\BodeAnalyzer\Scpi\Calibration.
    For Bode 500 only a valid file name is required (NO file path information allowed, extension not required).

    • Command
    Syntax Parameter
    :MMEMory:STORe:CORRection <string>
    Parameters accepted format allowed suffixes possible Errors Description
    <string> string value none Illegal parameter value, File name not found--256 The calibration file name

    Sample usage

    Performs a Full Range Gain Calibration using a Bode 100 device and save it to the file system. A path is required otherwise NO calibration file will be saved.

    • C#
    var visaSession = new TcpipSocket(VISA_RESOURCENAME);
    visaSession.RawIO.Write(":CALC:PAR:DEF S21\n");
    visaSession.RawIO.Write(":SENS:CORR:FULL:THRU\n");
    // wait for the action to finish
    visaSession.RawIO.Write("*OPC?\n");
    visaSession.RawIO.ReadString();
    
    visaSession.RawIO.Write($":MMEM:STOR:CORR 's21calibration.mcalx'\n");
    // wait for the action to finish
    visaSession.RawIO.Write("*OPC?\n");
    visaSession.RawIO.ReadString();
    
    • Python
    visaSession.write(':CALC:PAR:DEF S21\n')
    visaSession.write(':SENS:CORR:FULL:THRU\n')
    # wait for the action to finish
    visaSession.query('*OPC?\n')
    
    visaSession.write(':MMEM:STOR:CORR "s21calibration.mcalx"\n')
    # wait for the action to finish
    visaSession.query('*OPC?\n')
    

    Related commands

    :MMEMory:CATalog:CORRection

    :MMEMory:DELete:CORRection

    :MMEMory:LOAD:CORRection:FULLrange

    :MMEMory:LOAD:CORRection:USERrange

    :MMEMory:STORe:CORRection

    In this article
    Back to top Generated by DocFX