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 "F:" 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, the content to be saved can be selected among the following 2 options:

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

:MMEMory:STORe:STYPe

Saving and recalling entire instrument status

To save the instrument setting or instrument setting and data ,use the following command:

:MMEMory:STORe:STATe

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:

:MMEMory:LOAD:STATe

Auto recall

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

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:

:MMEMory:xx[1-1]:TRACe[1-y]:STORe

Here, xx indicates anyone of the measurement PN,PS,SP,FP,TR,AM,BB,USER and y indicates the number of traces.

Executing the above command will save the measurement data of the active trace.  

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:

:MMEMory:STORe:IMAGe

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

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.

:MMEMory:STORe:PROGram

Loading (importing)

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

:MMEMory:LOAD:CORRection:POWer

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