Basic Knowledge Requirement; Command Categories; Command Syntax - Agilent Technologies N9340A User Manual

Handheld spectrum analyzer
Hide thumbs Also See for N9340A:
Table of Contents

Advertisement

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

The SCPI command falls 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 separating a keyword from a variable
with a space
• Always separating a variable from its unit with a
space (if variable has a unit)
N9340A User's Guide
SCPI Command Reference
6
97

Advertisement

Table of Contents
loading

Table of Contents