beautypg.com

Scpi command structure – EXFO IQS-600 Integrated Qualification System User Manual

Page 191

background image

Using IQS Products in an Automated Test Environment

Integrated Qualification System

183

SCPI Command Structure

SCPI Command Structure

The information presented in this section provides an overview of SCPI
programming. If you need detailed information, refer to:

The International Institute of Electrical and Electronics Engineers. IEEE
Standard 488.1-1987, IEEE Standard Digital Interface for Programmable
Instrumentation
. New York, 1987.

The International Institute of Electrical and Electronics Engineers. IEEE
Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols and
Common Commands For Use with ANSI/IEEE Std. 488.1-1987
. New
York, 1992.

Standard Commands for Programmable Instruments (SCPI). Volume
1: Syntax and Style
. Vers. 1999.0 May, U.S.A, 1999.

The provided commands follow the guidelines determined by the Standard
Commands for Programmable Instruments (SCPI) consortium. A program
message
consists of one or more commands (and/or queries) with their
appropriate parameters.

For example, a program message could contain a command used to
activate or deactivate a source. The corresponding command syntax
would be:

When sending a message containing the previous command, you would
actually type: SOUR:POW ON.

SOUR:POW[:STAT]

Mandatory

keywords

Optional keyword
(in square brackets)

Required

space

Parameter

Keyword

separators