Agilent Technologies N9340A manual Basic Knowledge Requirement, Command Categories, Command Syntax

Models: N9340A

1 172
Download 172 pages 20.6 Kb
Page 109
Image 109

SCPI Command Reference 6

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

99

Page 109
Image 109
Agilent Technologies N9340A manual Basic Knowledge Requirement, Command Categories, Command Syntax, SCPI Command Reference