Parameters In Commands - Agilent Technologies ESA-E Series Programmer's Manual

Esa spectrum analyzers
Hide thumbs Also See for ESA-E Series:
Table of Contents

Advertisement

Programming Fundamental s
Special Characters in Command s
Special
Character
Meaning
Example
{ }
Parameters in braces can
optionally be used in th e
command either not at all,
once, or several times .
Command :
[
SENSe : ] CORRection :CSE
T [1] ~ 2 ~ 3 ~ 4 : DATA : ERGe
<f req>, <rel_ampl>{ , <f r
eq>,<rel ampl> }
A valid form of this comman d
is:
[SENSe :]CORRection :CSE
Ti : DATA :NERGe
740000, .94 1250000, .3 1
3320000,1 .7
Parameters in Commands
There are four basic types of parameters : boolean, key words, variable s
and arbitrary block program data .
Boolean
The expression
OFF ~ ON ~ 0 ~ 1
is a two state boolean-type parameter.
The numeric value 0 is equivalent to
OFF.
Any numeric value other
than 0 is equivalent to
ON.
The numeric values of 0 or 1 are commonly
used in the command instead of
OFF
or
ON,
and queries of the
parameter always return a numeric value of 0 or
1 .
Hey Word
The parameter key words that are allowed for a particular command
are defined in the command description and are separated with a
vertical slash .
Units
Numerical variables may include units. The valid units for a comman d
depends on the variable type being used. See the following variable
descriptions. If no units are sent, the indicated default units will b e
used . Units can follow the numerical value with, or without, a space .
Variable
A variable can be entered in exponential format as well as standar d
numeric format . The appropriate variable range and its optional unit s
are defined in the command description .
In addition to these values, the following key words may also be used i n
commands where they are applicable .
MINimum - sets the parameter to the smallest possible value .
MAXimum - sets the parameter to the largest possible value .
1-6
Chapter 1

Advertisement

Table of Contents
loading

Table of Contents