Command
:MMEMory:STORe[:STATe] <Value>
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).
Parameter |
Value |
Description |
File name to save the instrument state (extension ".sta") |
Data Type |
Character string type (String) |
Range |
254 chars |
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
Save/Recall > Save State > State01 to State08
Save/Recall > Save State > Autorec
Save/Recall > Save State > UserPres
Save/Recall > Save State > File Dialog...
SCPI.MMEMORY.STORE.STATE