16
Chapter 1
Introduction to Programming X-Series Applications
SCPI Measurement Commands
SCPI Measurement Commands
Specific analyzer commands for setup and initiation of measurements are provided in the
User’s and Programmer’s Reference and in the instrument Help system under the
:MEASure command and under the specific measurement Meas soft key.
Once measurement parameters have been correctly configured, in general, there are 2
methods of obtaining measurement results remotely: by using the Measure family of
commands, and by using common :CALCulate queries of data parameters.
Measurement Group of Commands
The Measure family of commands is comprised of the MEASure command that executes
the entire measurement, and other separate commands, CONFigure, FETCh, INITiate
and READ, which each accomplish only a part of the overall measurement. FETch and
READ are queries. You can optimize your measurements by creating programs which use
MEASure and CONFigure a minimum number of times, and concentrating on repeating
READ, INITiate, and FETCh commands. For more information on optimizing your
measurements see
“Improving Measurement Speed” on page 78
The following graphic illustrates the interactions between the Measurement family of
commands: MEASure, CONFigure, FETCh, INITiate and READ:
NOTE
Not all measurements support all MEASure, CONFigure, FETCh,
INITiate and READ commands. See the User’s and Programmer’s
Reference for specific MEASure family command information.
READ
FETCh
INITiate
CONFigure
MEASure (use CONFigure DEFault)
Measurement
on, sets the
default state.
Initialize
taking of
data.
Current
acquired data
is calculated
and returned.
ABORt
returns to
this point
vsd26
Start from
any instrument
state.
Measurement
on, waiting in
current state.
CONFigure NDEF
SENSe & CALCulate
commands change the
settings from the
defaults
INITiate:RESTart