Formats and Data Flow
7
Specifying a Default Folder
Designating a folder as the default (current) folder eliminates the need to specify
an absolute path each time a sub-folder or file is created or referenced. The
command:
MMEMory:CDIRectory "<folder>"
MMEMory:CDIRectory?
(query form)
selects
as the current folder used by subsequent
subsystem
folder
MMEMory
commands.
is of the form
(see
for
folder
drive:path
MMEMory:DIRectory
details).
drive:path
For example, an alternate way to create folders
and
is:
dut_1
data1
//create folder 'dut_1' and select it as the current folder
//create sub-folder 'data1'
MMEM:MDIR "INT:\dut_1"
MMEM:CDIR "INT:\dut_1"
MMEM:MDIR "data1"
When specifying a folder name the current folder is referenced. If a current folder
(
) has not been specified and a drive name (INT or USB) is not included,
MMEM:CDIR
the default drive 'INT:' is referenced. For example:
MMEM:MDIR "dut_2"
creates the folder '
' on the root drive INT.
dut_2
Following a reset (
) or instrument preset (
), the counter resets
*RST
SYSTem:PRESet
the current folder to the root directory on the internal flash file system ("INT:\").
Creating Data Files
See "Histograms" or
"Trend
Charts" and
"Data
Logging" in
Chapter 6
for
information on storing measurement data from the front panel.
Keysight 53210A User's Guide
205