Agilent N5181A/82A MXG Signal Generators SCPI Command Reference 15
SCPI Basics
SCPI Basics
MSUS (Mass Storage Unit Specifier) Variable
The variable "<msus>" enables a command to be file type specific when working with user files.
Some commands use it as the only command parameter, while others can use it in conjunction with
a file name when a command is not file type specific. When used with a file name, it is similar to
Format 2 in the File Name Variables section on page 12. The difference is the file type specifier
(msus) occupies its own variable and is not part of the file name syntax.
The following examples illustrate the usage of the variable "<msus>" when it is the only command
parameter:
The variable "<msus>" is replaced with "LIST:". When the command is executed, the output displays
only the files from the List file system.The following examples illustrate the usage of the variable
"<file name>" with the variable "<msus>":
The command from the above example cannot discern which file system LIST_1 belongs to without a
file system specifier and will not work without it. When the command is properly executed, LIST_1 is
deleted from the List file system.
The following example shows the same command, but using Format 2 from the File Name Variables
section on page 12:
:MMEMory:DELete:NAME "LIST_1@LIST"
When a file name is a parameter for a command that is not file system specific, either format ("<file
name>","<msus>" or "<file name@msus>") will work.
Refer to Table 1- 4 on page 14 for a listing of the file systems and types.
Quote Usage with SCPI Commands
As a general rule, programming languages require that SCPI commands be enclosed in double quotes
as shown in the following example:
":FM:EXTernal:IMPedance 600"
However when a string is the parameter for a SCPI command, additional quotes or other delimiters
may be required to identify the string. Your programming language may use two sets of double
Command Syntax with the msus variable
:MMEMory:CATalog? "<msus>"
Command Syntax with the file system
:MMEMory:CATalog? "LIST:"
Command Syntax with the file name and msus variables
:MMEMory:DELete[:NAME] "<file name>",["<msus>"]
Command Syntax with the file name and file system
:MMEMory:DELete:NAME "LIST_1","LIST:"