MEMory:STATe:RECall:SELect
Syntax
MEMory:STATe:RECall:SELect {0|1|2|3|4|5}
MEMory:STATe:RECall:SELect?
Description
This command selects which instrument state will be used at power on if the automatic recall mode is enabled (see MEMory:STATe:RECall:AUTO ON command). If the automatic recall mode is disabled (MEMory:STATe:RECall:AUTO OFF), then a Factory Reset (*RST command) is issued when power is turned on.
Remarks
When shipped from the factory, storage locations 1 through 5 are empty and the automatic recall mode is disabled (see MEMory:STATe:RECall:AUTO OFF command).
Before enabling the automatic recall mode, you should first store the state that you want to restored (see *SAV command) and then select that state using the MEMory:STATe:RECall:SELect command. If you enable the automatic recall mode but have not stored the selected state (or if the state has been deleted), an error will be generated when power is turned on.
The power-down state is automatically stored in location 0 (this location is available only to store the power-down state). When power is lost, the instrument stores the following:
All non-channel specific configurations such as the internal DMM configuration, scanning parameters, reading output format, triggering parameters, etc.
The open/closed state of the switches on all installed modules. Per-channel measurement/math configurations are not stored and will be initialized to their factory defaults on all channels.
Return Format
The query command returns "0", "1", "2", "3", "4", or "5" indicating which instrument state will be used at power on. When shipped from the factory, the query command will return "0" indicating that the power-down state has been selected. Note that by default, MEMory:STATe:RECall:AUTO will be OFF, which automatically issues a Factory Reset when power is turned on (regardless of the automatic recall setting).
Examples
The following command stores the instrument state in location 2, selects state 2 to be recalled at power-on, and enables the automatic recall mode.
*SAV 2
MEM:STAT:REC:SELECT 2
MEM:STAT:REC:AUTO ON
The following query returns the instrument state selected.
MEM:STAT:REC:SEL?
Typical Response: 2