265
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
4
An Introduction to the SCPI Language
SCPI (Standard Commands for Programmable Instruments) is an
ASCII-based instrument command language designed for test and
measurement instruments. Refer to “Simplified Programming Overview”
starting on page 160, for an introduction to the basic techniques used to
program the function generator over the remote interface.
SCPI commands are based on a hierarchical structure, also known as a
tree system. In this system, associated commands are grouped together
under a common node or root, thus forming subsystems. A portion of the
SOURce
subsystem is shown below to illustrate the tree system.
SOURce
:
FREQuency
:STARt {<
frequency
>|MINimum|MAXimum}
:STARt? [MINimum|MAXimum]
FREQuency
:STOP {<
frequency
>|MINimum|MAXimum}
:STOP? [MINimum|MAXimum]
SWEep
:SPACing {LINear|LOGarithmic}
:SPACing?
SWEep
:TIME {<
seconds
>|MINimum|MAXimum}
:TIME? [MINimum|MAXimum]
SWEep
:STATe {OFF|ON}
:STATe?
SOURce
is the root keyword of the command,
FREQuency
and
SWEep
are
second-level keywords, and
STARt
and
STOP
are third-level keywords.
A colon (
:
) separates a command keyword from a lower-level keyword.
33210A users guide.book Page 265 Wednesday, July 16, 2008 11:16 AM
Содержание 33210A
Страница 1: ...Keysight 33210A 10 MHz Function Arbitrary Waveform Generator User s Guide ...
Страница 2: ......
Страница 3: ......
Страница 14: ...12 Contents Contents 33210A users guide book Page 12 Wednesday July 16 2008 11 16 AM ...
Страница 15: ...1 1 Quick Start 33210A users guide book Page 13 Wednesday July 16 2008 11 16 AM ...
Страница 33: ...2 2 Front Panel Menu Operation 33210A users guide book Page 31 Wednesday July 16 2008 11 16 AM ...
Страница 53: ...3 3 Features and Functions 33210A users guide book Page 51 Wednesday July 16 2008 11 16 AM ...
Страница 147: ...4 4 Remote Interface Reference 33210A users guide book Page 145 Wednesday July 16 2008 11 16 AM ...
Страница 273: ...5 5 Error Messages 33210A users guide book Page 271 Wednesday July 16 2008 11 16 AM ...
Страница 301: ...6 6 Application Programs 33210A users guide book Page 299 Wednesday July 16 2008 11 16 AM ...
Страница 311: ...7 7 Tutorial 33210A users guide book Page 309 Wednesday July 16 2008 11 16 AM ...
Страница 335: ...8 8 Specifications 33210A users guide book Page 333 Wednesday July 16 2008 11 16 AM ...