Formats and Data Flow 7
Keysight 53220A/53230A User’s Guide 263
Instrument states can be stored in the instrument’s internal flash memory or on a
USB memory device and recalled later to restore a specific configuration
(Figure 7-2).
The commands used to store and load counter states are:
MMEMory:STORe:STATe <“file”>
MMEMory:LOAD:STATe <“file”>
<file> is created during execution of the STORe command. The parameter
format is “[drive:path]<file_name>”. drive is either INT (internal flash
memory) or USB (external memory device). path is an absolute path and folder
name. If a folder is specified, it must have been previously created
(see MMEMory:MDIRectory).
The combination of folder and file name cannot exceed 240 characters, and
cannot contain the characters \ / : * ? “ < > |. State files have a .sta
extension.
State file example
The following example shows the interaction between folders created from the
front panel and state files created/stored programmatically. For this sequence,
folder SETUP_1 was created on the internal flash drive from the front panel. It is
then specified (programmatically) as the current folder and a state file is stored
and recalled from that folder.
MMEM:CDIR “INT:\SETUP_1” // specify as current folder
configure instrument programmatically or from front panel
MMEM:STOR:STAT “test1.sta” // store the configuration
recall the configuration (state) at later date (even if power is cycled)...
MMEM:LOAD:STAT ”INT:\SETUP_1\test1.sta” // load state