7 Save/Recall/Print
7.2 Recall
NOTE
In products that run multiple simultaneous instances of the X-Series Application,
all instances share the same registers and file directories, so make sure you
know from what instance a file or register was saved before recalling it.
Remote
Command
:MMEMory:LOAD:STATe <filename>
Example Load the state file data (on the default file directory path) into the instrument state:
:MMEM:LOAD:STAT "MyStateFile.state"
Notes When you pick a file to recall, the instrument first verifies that the file is recallable in the current
instrument by checking the software version and model number of the instrument. If there is a
mismatch between the file and the instrument, the recall function tries to recall as much as possible. It
may limit settings that differ based on model number, licensing or version number. In general, variables
in the instrument which are not contained in the state file will be unaffected, and variables in the state
file which are not contained in the instrument will be ignored
The recall proceeds by aborting the currently running measurement, clearing any pending operations,
and then loading the State from the saved state file. You can open state files from any Mode, so
recalling a State file switches the instrument to the Mode that was active when the save occurred. After
switching to the Mode of the saved state file, Mode settings and data (if any for the Mode) become
those from the saved file. The active measurement becomes the measurement which was running when
the state file was saved and the data relevant to the measurement (if there is any) is recalled
After recalling the state, the Recall State function does the following:
–
Clears the input and output buffers
–
Status Byte is set to 0
–
Executes *CLS
If the file specified is empty an error is generated. If the specified file does not exist, another error is
generated. If there is a mismatch between the file and the proper file type, an error is generated. If
there is a mismatch between file version or model number or instrument version or model number, a
warning is displayed. Then it returns to the State menu and File Open dialog goes away
After the Recall, the instrument exits the Recall menu and returns to the previous menu
Backwards
Compatibility
SCPI
:MMEMory:LOAD:STATe 1,<filename>
The "1" is simply ignored
7.2.2.1 Recall Type
If you have a built-in Source in your instrument, you may wish, when recalling State,
to recall only the part of the State file that applies to the instrument, and leave the
Source unaffected. Or you may wish to recall only the part of the State file that
applies to the Source, and leave the instrument unaffected.
Lets you choose whether you wish to recall the entire Analyzer + Source state (ALL),
just the Analyzer State ANALyzer), or just the Source State (SOURce).
2533 Spectrum Analyzer Mode User's &Programmer's Reference