Scpi command structure – EXFO FTB-2 User Manual

Page 252

Advertising
background image

Using Your Unit and Modules in an Automated Test Environment

242

FTB-2 and FTB-2 Pro

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.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]<wsp><Boolean Program Data>

Mandatory

keywords

Optional keyword
(in square brackets)

Required

space

Parameter

Keyword

separators

Advertising
This manual is related to the following products: