User`s manual
66 Chapter 3
O:\Manuals\E6380A_Progguid\Book\Guidelin.fm
HP-IB Command Guidelines
Guidelines for Operation
Using Quotes for String Entries
Quotation marks ’ and " are used to select a non-numeric field setting.
The value is entered into the command line as a quoted alphanumeric
string.
Quotes are used with all Underlined (toggling) and One-of-many (menu
choice) fields.
For example, to set the RF Generator’s Output Port field to Dupl
(duplex), the Dupl would be entered into the command string.
Example 3-2 Example
RFG:OUTP ’Dupl’
or
RFG:OUTP "Dupl"
Using Spaces
When changing a field’s setting, a space must always precede the
setting value in the command string, regardless of the field type
(command<space>value).
Example 3-3 Example
RFG:FREQ<space>850MHZ
RFG:ATT<space>’OFF’
Using Colons to Separate Commands
The HP-IB command syntax is structured using a control hierarchy
that is analogous to manual operation.
The control hierarchy for making a manual instrument setting using
the front-panel controls is as follows: first the screen is accessed, then
the desired field is selected, then the appropriate setting is made.
HP-IB commands use the same hierarchy. The colon (:) is used to
separate the different levels of the command hierarchy.
For example, to set the AF Analyzer input gain to 40 dB, the following
command syntax would be used: