Memory commands, Memory:nstates, Memory:state:catalog – RIGOL DG1000Z Series User Manual

Page 53: Memory commands -41

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-41

:MEMory Commands

The :MEMory commands are used to query the storage locations and the state files stored in the internal

non-volatile memory of the instrument, query whether state file is stored in the specified storage location,

delete, lock and unlock the state files in the internal memory, query and modify the filenames of the state

files stored as well as set the power-on configuration.


Command List:

:MEMory:NSTates?

:MEMory:STATe:CATalog?

:MEMory:STATe:DELete

:MEMory:STATe:LOCK

:MEMory:STATe:NAME

:MEMory:STATe:RECall:AUTO

:MEMory:STATe:VALid?

:MEMory:NSTates?

Syntax

:MEMory:NSTates?

Description

Query the number of storage locations for the state files in the non-volatile memory

of the internal memory of the instrument.

Return Format

The query returns 10.

:MEMory:STATe:CATalog?

Syntax

:MEMory:STATe:CATalog?

Description

Query the state files stored in the internal non-volatile memory of the instrument.

Explanation

The internal non-volatile memory of the instrument provides 10 state file storage

locations.

Return Format

The query returns a string consisting of 10 parts (represent the filenames of the

files stored in locations 1 to 10 respectively) separated by commas, for example,

"Scpi1.RSF","Scpi2.RSF","0.RSF","1.RSF","012.RSF","","33.RSF","","",""; wherein,

the contents in the double quotation marks are the filenames of the files stored in

the corresponding locations; the query only returns a pair of double quotation

marks if no file is stored in the corresponding location.

Advertising