Saving and Recalling File

Other topics about Saving and Recalling

Specifying File

When running a command for saving, recalling, and managing files, use a filename with extension to specify a particular file. Specify "D:" in the beginning of the file name, when specifying a file on the user area of hard disk. Also, when specifying a file name with directory, use "/" (slash) or "\" (backslash) as a delimiter.

Saving and Recalling Instrument Status

You can save the instrument state using one of the following 2 methods:

Selecting content to be saved

When saving the instrument status into a file or register, the content to be saved can be selected among the following 4 options:

To select a content to be saved, use the following command:

:MMEM:STOR:STYP

Selecting Content to be Saved

To select whether to save the setting of all channels/traces or that of the displayed channels/traces, use the following command:

:MMEM:STOR:SALL

Saving and recalling entire instrument status

To save the entire instrument status into a file, use the following command:

:MMEM:STOR

Recalling a file saved with the above command can reproduce the status when it was saved. To recall the settings from a file, use the following command:

:MMEM:LOAD

Auto recall

The file saved with the name autorec.sta or A:autorec.sta will be automatically recalled when the E5071C is powered ON.

Saving the state for each channel into a register

For the active channel, when you want to save the instrument state specific to that channel into only one of the registers A to D, use the following command:

:MMEM:STOR:CHAN

Recalling an instrument state saved in a register can reproduce it as the state of the active channel. To recall a register, use the following command:

:MMEM:LOAD:CHAN

The contents in the registers are lost when you turn OFF the power. You can delete (clear) the contents of all registers using the following command.

:MMEM:STOR:CHAN:CLE

Saving Measurement Data

Measurement data (in a formatted data array) can be saved to a file in CSV (Comma Separated Value) format.

To save measurement data in a file, use the following command:

:MMEM:STOR:FDAT

Executing the above command will save the measurement data of the active trace. Note that the data saved using the above command cannot be recalled from the E5071C.

Saving Measurement Data in Touchstone Format

Measurement data for the active channel can be saved to a file in touchstone format.

To determine a file type in touchstone file format and specify a port, use one of the following commands according to the number of ports used:

To set a data type for files saved in touchstone format, use the following command:

:MMEM:STOR:SNP:FORM

To save measurement data in touchstone format, use the following command:

:MMEM:STOR:SNP

Saving Images

Images displayed on the LCD screen can be saved to a file in the bitmap (.bmp) or portable network graphics (.png) format.

To save the screen image to a file, use the following command:

:MMEM:STOR:IMAG

Executing the above command will save the screen image when the command is invoked.

Saving and Recalling Segment Sweep Table

Segment sweep table can be saved in the file with CSV (Comma Separated Value) format.

To save segment sweep table on a file, use the following command:

:MMEM:STOR:SEGM

Executing the above command will save the segment sweep table for the active channel.

Recalling the file saved using the above command can reproduce the segment sweep table on the active channel.

To recall the settings from a file, use the following command:

:MMEM:LOAD:SEGM

Saving and Recalling Limit Table

Limit table can be saved in the file with CSV (Comma Separated Value) format. To save limit table on a file, use the following command:

:MMEM:STOR:LIM

Executing the above command will save the limit table for the active trace of the active channel.

Recalling the file saved using the above command can reproduce the limit table on the active trace of the active channel. To recall the settings from a file, use the following command:

:MMEM:LOAD:LIM

Saving/Recalling Power Sensor Calibration Factor Table

The power sensor calibration table can be saved in the file with CSV (Comma Separated Value) format. To save the power sensor calibration factor table that is set specifically to the E5071C into a file, use the following commands:

Recalling a file saved with the above command can reproduce the power sensor calibration factor table when it was saved. To recall the settings from a file, use the following command:

Saving/Recalling Loss Compensation Table

The loss compensation table can be saved in the file with CSV (Comma Separated Value) format.To save the loss compensation table that is set for each port into a file, use the following command:

:MMEM:STOR:PLOS{1-4}

Executing the above command will save the loss compensation table for the active channel.

Recalling the file saved using the above command can reproduce the loss compensation table on the active channel. To recall the settings from a file, use the following command:

:MMEM:LOAD:PLOS{1-4}

Saving/Loading (Importing) a VBA Program

Saving

Only the VBA project file can be saved using command.

To save the VBA project that is opened on the VBA editor on the file, use the following command.

:MMEM:STOR:PROG

Loading (importing)

To load the VBA project to the VBA editor, or to import the module/form file, use the following command.

:MMEM:LOAD:PROG

Executing above command will load/import the file according to its extension as follows:

Extension

File type

vba

VBA Project

bas

Standard module

frm

User Forms

cls

Class Modules

Sample program

See the Saving Files.