User`s guide

Table Of Contents
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)