RIGOL
2-32
DG900 Programming Guide
the files and folders in the folder plus 1. For example,
28672,4102361088,"3,DIR,Rigol","80,,Rigol1.RAF","1360,,Rigol0.RSF" denotes that for the current
directory, its space used is 28672 bytes and the space available is 4102361088 bytes; it contains 1 folder
(Rigol) and the folder contains 2 files or folders; it contains 2 files, of which the size of the arbitrary
waveform file (Rigol1.RAF) is 80 bytes and the size of the state file (Rigol0.RSF) is 1360 bytes.
Example
Assume that the current directory is D:\.
:MMEM:CAT? /*Queries all the files and folders in the external memory and the query
returns
28672,4102361088,"3,DIR,Rigol","80,,Rigol1.RAF","1360,,Rigol0.RSF".*/
:MMEMory:CATalog:DATA:ARBitrary?
Syntax
:MMEMory:CATalog:DATA:ARBitrary? [<folder>]
Description
Queries the arbitrary waveform file and sequence file (*.RAF) under the current operation directory.
Parameter
Name
Type
Range
Default
<folder>
ASCII String
Valid directory
None
Remarks
The parameter <folder> is a valid directory in the internal or external memory. It is a string enclosed by
double quotation marks. For example, "C:\" 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 that it occupies. For example, 28672,4102361088,"80,,Rigol1.RAF" denotes that for the
current directory, its space used is 28672 bytes and the space available is 4102361088 bytes; it contains 1
arbitrary waveform file (Rigol1.RAF) and the size of the file is 80 bytes.
Example
Assume that the current directory is D:\.
:MMEM:CAT:DATA:ARB? /*Queries the arbitrary waveform file and sequence file in the external
memory directory and the query returns
28672,4102361088,"80,,Rigol1.RAF".*/
:MMEMory:CATalog:STATe?
Syntax
:MMEMory:CATalog:STATe? [<folder>]
Description
Queries the state file under the current operation directory.
Parameter
Name
Type
Range
Default
<folder>
ASCII String
Valid directory
None
Remarks
The parameter <folder> is a valid directory in the internal or external memory. It is a string enclosed by
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......