:MMEM:STOR

Type

Command

Syntax

:MMEMory:STORe[:STATe] <Value>

Description

This command saves the instrument state (contents to be saved specified with the :MMEM:STOR:STYP) into a file (file with the .sta extension).

State1 to State8  are named as "State1.sta" to "State8.sta" and saved into D: directory.

Autorec and UserPres are named as "Autorec.sta" and "UserPres.sta" and saved into D: directory.

      • Specify the file name with the extension. When you use directory names and file name, separate them with "\" (back slash), or "/" (slash).

Variable

Parameter

Value

Description

File name to save the instrument state (extension ".sta")

Data Type

Character string type (String)

Range

254 chars

Examples

Dim FType as String, Var as String
FType= "STATe"
Var = "mystate1.sta"
Ana.WriteString ":MMEM:STOR:STYP " & FType, True
Ana.WriteString ":MMEM:STOR " & Var, True

Related Commands

:MMEM:STOR:STYP

:MMEM:LOAD

:MMEM:STOR:SALL

Equivalent Softkey

Save/Recall > Save State > State01 to State08

Save/Recall > Save State > Autorec

Save/Recall > Save State > UserPres

Save/Recall > Save State > File Dialog...

COM Command Syntax (Internal Control Only)

SCPI.MMEMORY.STORE.STATE