User`s guide
Table Of Contents
- Overview
- Getting Started
- System Setting
- Making Measurements
- Measuring Multiple Signals
- Measuring a Low-Level Signal
- Improving Frequency Resolution and Accuracy
- Making Distortion Measurements
- One-button Power Measurement
- Making a Stimulus Response Transmission Measurement
- Measuring Stop Band Attenuation of a Low-pass Filter
- Making a Reflection Calibration Measurement
- Measuring Return Loss Using the Reflection Calibration Routine
- Making an Average Power Measurement
- Key Reference
- SCPI Command Reference
- Error Messages
- Menu Map
SCPI Command Reference 6
N9340A User’s Guide 115
Basic Knowledge Requirement
Programming with SCPI requires knowledge of:
• Computer programming languages, such as C or
C++.
• The language of your instrument. A N9340A
employs SCPI as its programming language.
Command Categories
SCPI commands fall into two categories:
• Subsystem commands
• Common commands
Use a computer to control the signal generator (but
operate the line power switch manually). Computer
programming procedures for the spectrum analyzer
involve selecting a programming statement and
then adding the specified programming codes to
that statement to achieve the desired operating
conditions.
Command Syntax
Command syntax includes standard notations and
statement rules.
Command Statement Rules Overview
• Command statements read from left to right
• Use either long form or short form of keywords,
but do not use both
• No separating space between the keywords, only
use a colon to separate keywords of different
levels
• Always separate a keyword from a variable with
a space
• Always separate a variable from its units with a
space (if variable has a unit)