SCPI.MMEMory.STORe.STATe

Object type

Method (Write Only)

Syntax

SCPI.MMEMory.STORe.STATe = File

Description

This command saves the instrument state (contents to be saved specified with the SCPI.MMEMory.STORe.STYPe object) into a file (file with the .sta extension).

Variable

Parameter

File

Description

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

Data type

Character string type (String)

Range

254 characters or less

Note

If a file with the same name as the specified file name exists, its contents are overwritten.

Examples

Dim StaType As String
SCPI.MMEMory.STORe.STYPe = "cdst"
SCPI.MMEMory.STORe.STATe = "d:\state01.sta"

 

Dim StaType As String
SCPI.MMEMory.STORe.STYPe = "cdst"
SCPI.MMEMory.STORe.STATe = "test/state01.sta"

Related objects

SCPI.MMEMory.STORe.STYPe

SCPI.MMEMory.LOAD.STATe

Equivalent key

Save/Recall > Save State > StateX (X=01 to 08) | AutoRec | File Dialog... | UserPres

Equivalent SCPI command

Syntax

:MMEMory:STORe[:STATe] <string>

Example of use

10 OUTPUT 717;":MMEM:STOR ""Test1/State01.sta"""

10 OUTPUT 717;":MMEM:STOR ""D:State01.sta"""