beautypg.com

Memory[:state]:load, Memory[:state]:lock, Memory[:state]:load -38 – RIGOL DP832A User Manual

Page 62: Memory[:state]:lock -38

background image

RIGOL

Chapter 2 Command System

2-38

DP800 Programming Guide

:MEMory[:STATe]:LOAD

Syntax

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

Description

Read the specified file stored in the internal memory, 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

 This command is only available when a file has been stored in the specified

storage location in the internal memory.

 You can also use the

*RCL

or

:RECAll:LOCal

command to read the specified file

stored 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.

Example

:MEM:LOAD RSF,5 /*Read the file currently stored in storage location 5 of state

files in the internal memory */

Related

Commands

*RCL

:RECAll:LOCal

:MEMory[:STATe]:LOCK

Syntax

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

Description

Lock or unlock the file in the specified storage location in the internal memory,

including state file (RSF), record file (ROF), timer file (RTF) and delay file (RDF).
Query whether the file in the specified storage location in the internal memory is

locked.

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

{ON|OFF}

Bool

ON|OFF

OFF

Explanation

 This command is only available when a file has been stored in the specified

storage location in the internal memory.

 The locked file cannot be saved and deleted, but can be read.

 The query returns NO if no 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:LOCK RSF,5,ON /*Lock the file currently stored in storage location 5 of

state files in the internal memory */

:MEM:LOCK? RSF,5 /*Query the locking state of the file currently stored in

storage location 5 of state files in the internal memory

and the query returns YES*/

This manual is related to the following products: