beautypg.com

EXFO FLS-2200 Broadband Source User Manual

Page 55

background image

Using Your Broadband Source in an Automated Test Environment

Broadband Source

47

SCPI Command Structure

There are also several conventions regarding command syntax:

Spelling errors will cancel the command or query.

Commands and queries are not case-sensitive. You can type your
program messages using either lower-case or upper-case letters.

The command or query can be written using only the three- or
four-letter shortcuts, only full words, or a combination of both.

The example below shows the long and the short forms of a same
query.

For readability reasons, you can use extra spaces in your program
messages but they won’t be taken into account. For more information,
see Message Management on page 35.

;

Mandatory to separate the different commands of a program

message when more than one command is sent at a time. In this

case, it is called .

Also used to separate responses when multiple queries were sent in

a single program message. In this case, it is called MESSAGE UNIT SEPARATOR>.

,

Mandatory to separate parameters in a command or a query. In this

case, it is called .

Also used to separate the various responses from a query. In this

case, it is called .

Item

Meaning

:SYSTem:ERRor?

:SYST:ERR?
:syst:err?

Long form

Short form (small words
represented by the capital letters
of the long form)