Memory[:state]:store, Memory[:state]:valid, Memory[:state]:store -39 – RIGOL DP832A User Manual

Page 63: Memory[:state]:valid? -39

Advertising
background image

Chapter 2 Command System

RIGOL

DP800 Programming Guide

2-39

:MEMory[:STATe]:STORe

Syntax

:MEMory[:STATe]:STORe {RSF|RTF|RDF},{1|2|3|4|5|6|7|8|9|10}

Description

Save the specified type of file to the specified storage location in the internal

memory in the default filename, including state file (RSF), timer file (RTF) and

delay file (RDF).

Parameter

Name

Type

Range

Default

{RSF|RTF|RDF}

Discrete

RSF|RTF|RDF

None

{1|2|3|4|5|6|7|8|9|10} Discrete

1|2|3|4|5|6|7|8|9|10

None

Explanation

 If a file has been stored in the specified storage location, this command will

save the specified type of file to the specified storage location in the internal

memory (overwrite the original file directly). If the file stored in the specified

storage location is locked (refer to the

:MEMory[:STATe]:LOCK

command), this

command is invalid (will not overwrite the original file).

 {1|2|3|4|5|6|7|8|9|10} represent the corresponding storage locations in the

internal memory respectively.

 The storage directory of the record file is specified by the

:RECorder:MEMory

command and the record file is stored automatically to the specified directory

when the recorder is turned off.

 You can also send the

*SAV

or

:STORe:LOCal

command to store the current

instrument state to the specified location in the internal memory.

Example

:MEM:STOR RSF,5 /*Store the current instrument state to the status file storage

location 5 in the internal memory; the filename is

RIGOL5.RSF*/

Related

Commands

*SAV

:STORe:LOCal
:RECorder:MEMory

:MEMory[:STATe]:LOCK

:MEMory[:STATe]:VALid?

Syntax

:MEMory[:STATe]:VALid? {RSF|ROF|RTF|RDF},{1|2|3|4|5|6|7|8|9|10}

Description

Query whether a valid file has been stored in the specified storage location in the

internal memory, including state file (RSF), record file (ROF), timer file (RTF) and

delay file (RDF).

Parameter

Name

Type

Range

Default

{RSF|ROF|RTF|RDF}

Discrete

RSF|ROF|RTF|RDF

None

{1|2|3|4|5|6|7|8|9|10} Discrete

1|2|3|4|5|6|7|8|9|10

None

Explanation

 The read, delete and lock operations are only valid when a valid file has been

stored in the specified storage location in the internal memory.

 {1|2|3|4|5|6|7|8|9|10} represent the files stored in the corresponding

locations in the internal memory respectively.

Return Format

The query returns YES or NO.

Example

:MEM:VAL? RSF,5 /*Query whether a valid file has been stored in storage location

5 of state files in the internal memory and the query returns

YES*/

Advertising
This manual is related to the following products: