: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).
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.
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();
Related commands
:MMEMory:LOAD:CORRection:FULLrange
:MMEMory:LOAD:CORRection:USERrange
Related commands in the Automation Interface
LoadCalibration(String) (Gain)
LoadCalibration(String) (Impedance)
LoadCalibration(String) (MultiMode)
SaveCalibration(String) (Gain)
SaveCalibration(String) (Impedance)
SaveCalibration(String) (MultiMode)