Agilent Technologies N1996A-503 User Reference page 298

Csa spectrum analyzer
Table of Contents

Advertisement

Programming Fundamentals
SCPI Language Basics
<freq>
<bandwidth>
Is a positive rational number followed by optional units.
The default unit is Hertz. Acceptable units include: Hz,
kHz, MHz, GHz.
<time>
<seconds>
Is a rational number followed by optional units. The
default units are seconds. Acceptable units include: ks,
s, ms, us, ns.
<voltage>
Is a rational number followed by optional units. The
default units are Volts. Acceptable units include: V, mV,
uV, nV
<current>
Is a rational number followed by optional units. The
default units are Amperes. Acceptable units include: A,
mA, uA, nA.
<power>
Is a rational number followed by optional units. The
default units are W. Acceptable units include: mAW,
kW, W, mW, uW, nW, pW.
<ampl>
Is a rational number followed by optional units. The
default units are dBm. Acceptable units include: dBm,
dBmV, dBuV.
<rel_power>
<rel_ampl>
Is a positive rational number followed by optional units.
The default units are dB. Acceptable units include: dB.
<percent>
Is a rational number between 0 and 100. You can either
use no units or use PCT.
<angle>
<degrees>
Is a rational number followed by optional units. The
default units are degrees. Acceptable units include:
DEG, RAD.
<string>
Is a series of alpha numeric characters.
<bit_pattern> Specifies a series of bits rather than a numeric value.
The bit series is the binary representation of a numeric
value. There are no units.
Bit patterns are most often specified as hexadecimal
numbers, though octal, binary or decimal numbers may
also be used. In the SCPI language these numbers are
specified as:
• Hexadecimal, #Hdddd or #hdddd where 'd'
represents a hexadecimal digit 0 to 9 and 'a' to 'f '. So
#h14 can be used instead of the decimal number 20.
• Octal, #Odddddd or #odddddd where 'd' represents
an octal digit 0 to 7. So #o24 can be used instead of
298
Chapter 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1996a-506

Table of Contents