Memory Commands - Keysight Technologies N6705C Operating And Service Manual

Dc power analyzer
Table of Contents

Advertisement

7 SCPI Programming Reference

Memory Commands

MMEMory commands provide mass storage capability for output measurement data. The mass
storage may be either internal or external to the instrument. The mass storage device is selected
using the full path embedded within the filename. The filename parameter is a string.
MMEMory:ATTribute? <"object">, <"attribute">
Returns the objects and attributes of a file system drive or of an individual file.
Object
Description
"INTernal"
Specifies the instrument's internal drive.
"EXTernal"
Specifies the instrument's USB drive
"filename"
Specifies the full path and filename.
Attribute
Description
"DriveCapacity"
Specifies the capacity of the internal or external drive in bytes. Only
applies when the object is INTernal or EXTernal.
"DriveFreeSpace"
Specifies the number of free bytes on the internal or external drive. Only
applies when the object is INTernal or EXTernal.
"FileSize"
Specifies the size of the file or folder. Only applies when the object is
<filename>.
<object>: "INTernal:"|"EXTernal:"|"<"filename">
<attribute>: "DriveCapacity"|"DriveFreeSpace" |"FileSize"
Enclose string parameters in single or double quotes.
Queries the internal drive description: MMEM:ATTR? "INT:","DriveFreeSpace"
Queries the attributes of a data log file: MMEM:ATTR? "INT:\datalog\data1.dlog","FileSize"
The query returns an ASCII string enclosed in double quotes containing the value of the specified
l
attribute, or a blank string if the name of the attribute is not valid or an error has occurred.
MMEMory:DATA[:DEFinite] <"filename">, <data>
MMEMory:DATA[:DEFinite]? <"filename">
Copies a file to the file system of the instrument. <"filename"> should be the full path and filename.
<data> is a definite length arbitrary binary block of the form #<D><DD...D><data-bytes>, where
#<D> indicates the response is definite length with <D> indicating the number of digits in the length.
<DD...D> indicates the length of the binary block containing the actual file.
<data-bytes> are the contents of the file.
304
Parameter
Typical Return
<ASCII string>
Keysight N6705C Operating and Service Guide

Advertisement

Table of Contents
loading

Table of Contents