3 command description method, Fig. 7-2 example of scpi commands, Command format – Anritsu MP1777A User Manual

Page 75: Form of header abbreviation, Option node, Header separator, 3 command description method -4

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Section 7 SCPI Outline

7.3

Command Description Method

SOURce : TELecom : BRATe <brate>

SOURce ; TELecom ; BRATe?

SOURce ; TELecom : EQUAlizer <boolean>

SOURce : TELecom : EQUAlizer?

Fig. 7-2 Example of SCPI Commands

The command tree shown in the previous section consists of the commands shown above.

1 lie section below provides explanations of the stipulations concerning descriptions of commands.

<Command format>

A command begins with a colon ( : ).

Or, a command is structured by concatenating headers with a colon ( : ).

<Form of header abbreviation>

Headers come in short and long forms.

The short form signifies an abbreviated form of the long form.

A command is interpreted as the same command whether it is expressed in the short or long form.

(The short and long form can be mixed.)

This specification uses the uppercase and lowercase characters to distinguish the short and long forms. (The section

expressed in uppercase characters refers to the short fomi.) However, the uppercase and lowercase characters are not

distinguished when they are actually used.

Example:

Long form

Short form

Long+short form

> ; SOURce ; TELecom ; BRATe M9953

> sour : TEL : BRAT M9953

> Sour : TELecom : BRAT M9953

<Option node>

The section in the brackets ( [ and ] ) expresses the option node. The header enclosed by the brackets ( [ and ] ) can be

abbreviated, and the abbreviated and non-abbreviated forms of a header are interpreted as the same command.

Example:

When a header is not abbreviated > : DISPlay : DSELect: NAME "SETup"

When a header is abbreviated > : DISPlay : DSELect: "SETup"

<Header separator>

At least one space character is always inserted between a command and a parameter. Two or more parameters are

separated by a comma ( , ).

7-4

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertising