7Formats and Data Flow
266 Keysight 53220A/53230A User’s Guide
An example of the command is:
*SAV 1  //save the current state in state location 1
State locations 0-4 are represented by the following file names in the root 
directory of internal flash memory:
STATE_0.sta
STATE_1.sta
STATE_2.sta
STATE_3.sta
STATE_4.sta
Saved counter states are recalled using the command:
*RCL {0|1|2|3|4}
{0|1|2|3|4} are the five state locations. An example of the command is:
*RCL 1 //recall the configuration from state location 1
When recalling a state using *RCL, only the location number is specified. When 
recalling a numbered state location from the front panel, the location file name is 
used (e.g. STATE_1.sta). 
See “User-defined power-on states” for more information.
Verifying a recalled state Before a state is recalled, its storage location can be 
queried to determine if a valid state exists of if the location is empty.
MEMory:STATe:VALid? {0|1|2|3|4} 
queries the specified state location. If ‘0’ is returned the location is empty. If ‘1’ is 
returned a valid state exists. For example:
//verify a valid state is stored in location 3; 0 = no state //saved, 1 
= valid state in location 3
MEM:STAT:VAL? 3