beautypg.com

EXFO IQS-600 Integrated Qualification System User Manual

Page 194

background image

Using IQS Products in an Automated Test Environment

186

IQS-600

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 will not be taken into account. For more
information, see Message Management on page 176.

;

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)