Scpi Commands And Queries - Tektronix AFG2021 Programmer's Manual

Arbitrary function generator
Hide thumbs Also See for AFG2021:
Table of Contents

Advertisement

Command Syntax
Command Entry

SCPI Commands and Queries

2-4
You can specify a query command at any level within the command tree unless
otherwise noted. These branch queries return information about all the mnemonics
below the specified branch or level.
Query Responses. When a query is sent to the instrument, only the values are
returned. When the returned value is a mnemonic, it is noted in abbreviated
format, as shown in the following table.(See Table 2-3.)
Table 2-3: Query response examples
Symbol
SOURce:PULSe:DCYcle?
OUTPut:POLarity?
Follow these general rules when entering commands:
Enter commands in upper or lower case.
You can precede any command with white space characters. White space
characters include any combination of the ASCII control characters 00 through
09 and 0B through 20 hexadecimal (0 through 9 and 11 through 32 decimal).
The instrument ignores commands that consists of just a combination of white
space characters and line feeds.
The instrument uses a command language based on the SCPI standard. The SCPI
(Standard Commands for Programmable Instruments) standard was created by
a consortium to provide guidelines for remote programming of instruments.
These guidelines provide a consistent programming environment for instrument
control and data transfer. This environment uses defined programming messages,
instrument responses and data formats that operate across all SCPI instruments,
regardless of manufacturer.
The SCPI language is based on a hierarchical or tree structure as shown in the
following figure that represents a subsystem. The top level of the tree is the root
node; it is followed by one or more lower-level nodes.
Figure 2-1: Example of SCPI subsystem hierarchy tree
AFG2021 Arbitrary Function Generator Programmer Manual
Meaning
50.0
NORM

Advertisement

Table of Contents
loading

Table of Contents