Mmemory:catalog:data:arbitrary, Mmemory:catalog:state – RIGOL DG1000Z Series User Manual

Page 60

Advertising
background image

RIGOL

Chapter 2 Command System

2-48

DG1000Z Programming Guide

:MMEMory:CATalog:DATA:ARBitrary?

Syntax

:MMEMory:CATalog:DATA:ARBitrary? [<folder>]

Description

Query the arbitrary waveform file under the current operation directory.

Parameter

Name

Type

Range

Default

<folder>

ASCII string

Valid directory in the

external memory

"D:\"

Explanation

 This command is only applicable to the external memory.

 <folder> is a valid directory in the external memory, including the D disk and the

folders in the D disk. It is a string enclosed in double quotation marks, for

example, "D:\" and "D:\Rigol".

Return Format

The query returns a string in the following format: space used,space available,

"size,property,name",……; wherein, the units of the space used and space available

are byte, the property of the file is empty and the size is the space it occupies. For

example, 28672,4102361088,"80,,Rigol1.RAF" denotes that for the external memory

currently connected to the instrument, its space used is 28672 bytes and the space

available is 4102361088 bytes; it contains an arbitrary waveform file (Rigol1.RAF) and

its size is 80 bytes.

Example

Assume that the current directory is D:\,
:MMEM:CAT:DATA:ARB? /*Query the arbitrary waveform file in the external

memory directory and the query returns

28672,4102361088,"80,,Rigol1.RAF"*/

:MMEMory:CATalog:STATe?

Syntax

:MMEMory:CATalog:STATe? [<folder>]

Description

Query the state file under the current operation directory.

Parameter

Name

Type

Range

Default

<folder>

ASCII string

Valid directory in the

external memory

"D:\"

Explanation

 This command is only applicable to the external memory.

 <folder> is a valid directory in the external memory, including the D disk and the

folders in the D disk. It is a string enclosed in double quotation marks, for

example, "D:\" and "D:\Rigol".

Return Format

The query returns a string in the following format: space used,space available,

"size,property,name",……; wherein, the units of the space used and space available

are byte, the property of the file is empty and the size is the space it occupies. For

example, 28672,4102361088,"1360,,Rigol0.RSF" denotes that for the external

memory currently connected to the instrument, its space used is 28672 bytes and the

space available is 4102361088 bytes; it contains an state file (Rigol0.RSF) and its size

is 1360 bytes.

Example

Assume that the current directory is D:\.
:MMEM:CAT:STAT? /*Query the state file in the external memory directory and the

query returns

28672,4102361088,"1360,,Rigol0.RSF"*/

Advertising