Language Reference

RMS

Compute the root mean square of the speci￿ed trace.

Item

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Source-Amplitude Range

0 {

10,000 measurement

units

for

linear

trace

data in

TRA,

TRB, TRC,

 

trace

range , or user-de￿ned

trace .

 

 

 

 

 

 

 

 

032,768 { +32,767 measurement

units

for

logarithmic

trace

data

in

 

TRA,

TRB,

TRC, trace range ,

or

user-de￿ned

trace .

 

 

 

Source-L ength Range

3 {

2048

position units.

Default

is

800

position

units when using

TRA,

 

TRB, TRC.

 

 

 

 

 

 

 

 

 

 

 

Example Query the root mean square of all elements in trace A.

140

OUTPUT 723;"RMS TRA?;"

Query root-mean square .

150

ENTER 723;N

Assign value to computer variable .

Description The RMS command computes the root-mean-square of the trace, in measurement units. RMS must be used as either a query or as a source

in another analyzer-command function. Form a query by ending the RMS statement with a question mark (?). When used as a query, RMS gives the root-mean-square of the trace, in measurement units. Use RMS as a source by incorporating the RMS statement into the source of any spectrum-analyzer command having prede￿ned function in its syntax diagram. When RMS is used as a source, the root-mean-square value is used for operation by the command that contains RMS.

7-424