beautypg.com

Command syntax, Afg-2225 series user manual, Compatible standard – GW Instek AFG-2225 User Manual User Manual

Page 184

background image

AFG-2225 Series User Manual

184

Command Syntax

Compatible
standard

IEEE488.2, 1992 (fully compatible)

SCPI, 1994 (partially compatible)

Command Tree

The SCPI standard is an ASCII based standard that
defines the command syntax and structure for
programmable instruments.

Commands are based on a hierarchical tree
structure. Each command keyword is a node on
the command tree with the first keyword as the
root node. Each sub node is separated with a
colon.
Shown below is a section of the SOURce[1|2] root
node and the :PM and :PULSe sub nodes.

:PM

:PULSe

:SOURce[1|2]

:WIDTh

:PERiod

Shape

SOURCE

Root node

2

nd

node

3

rd

node

Command types

Commands can be separated in to three distinc
types, simple commands, compound commands
and queries.

Simple

A single command with/without
a parameter

Example

*OPC

Compound

Two or more commands
separated by a colon (:)
with/without a parameter

Example

SOURce1:PULSe:WIDTh