Memory:state:lock – RIGOL DG1000Z Series User Manual

Page 55

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-43

:MEMory:STATe:LOCK

Syntax

:MEMory:STATe:LOCK

{USER1|USER2|USER3|USER4|USER5|USER|6USER7|USER8|USER9|USER10},

{ON|1|OFF|0}
:MEMory:STATe:LOCK?

{USER1|USER2|USER3|USER4|USER5|USER|6USER7|USER8|USER9|USER10}

Description

Lock or unlock the state file stored in the specified storage location in the internal

non-volatile memory of the instrument.
Query whether the state file stored in the specified storage location in the internal

non-volatile memory of the instrument is locked.

Parameter

Name

Type

Range

Default

{USER1|USER2|USER3|

USER4|USER5|USER6|

USER7|USER8|USER9|

USER10}

Discrete

USER1|USER2|USER3|

USER4|USER5|USER6|
USER7|USER8|USER9|

USER10

None

{ON|1|OFF|0}

Bool

ON|1|OFF|0

OFF

Explanation

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

storage locations numbered USER1 to USER10 which representing the state

files stored in the specified locations respectively.

 You can modify the filename of the locked file in the internal non-volatile

memory of the instrument (

:MEMory:STATe:NAME

) but you cannot delete the

locked file (

:MEMory:STATe:LOCK

). To delete the locked file, please first unlock

it.

Return Format

The query returns ON or OFF.

Example

Assume that storage location 1 in the internal non-volatile memory of the

instrument contains a state file.
:MEM:STAT:LOCK USER1,ON /*Lock the state file stored in storage location 1 in

the internal non-volatile memory of the

instrument*/

:MEM:STAT:LOCK? USER1 /*Query whether the state file stored in storage

location 1 in the internal non-volatile memory of

the instrument is locked and the query returns

ON*/

Related

Commands

:MEMory:STATe:NAME
:MEMory:STATe:LOCK

Advertising