Command Groups
Math Command Group
Use the commands in the Math Command Group to create and dene a math
waveform. Use the available math functions to dene your math waveform.
The math waveform you create depends on sources listed in the math expression.
If you change these sources, the math waveform you previously dened will be
affected.
Math expressions can be simple, containing no mathematical computation, such
as CH1, which species that a waveform shows the signal source of Channel 1.
Math expressions can also be complex, consisting of up to 128 characters and
comprising many sources, functions, and operands.
When a live waveform is updated or a reference waveform is altered, math
waveforms containing those waveforms as sources are also updated to reect the
changes. Remember that sources must exist, but do not need to be displayed, to be
used in and to update math waveforms.
Table 2-24: Math Commands
Command Description
MATH[1]? Returnsthe denition of the math waveform
MATH[1]:DEFine Sets or returns the currentmath function as
atextstring
MATH[1]:HORizontal:SCAle Sets or returns the math horizontal display
scale for FFT or for Dual Math waveforms
MATH[1]:HORizontal:UNIts Returns the math waveform horizontal unit
value
{MATH|MATH1}:LABel Setsor queries the waveform label for the
math waveform
MATH[1]:SPECTral:MAG Sets or returns the units of spectral
magnication in the math string
MATH[1]:SPECTral:WINdow Setsor returns the window function for math
waveform spectral input data
MATH[1]:VERTical:POSition Setsor returns the vertical position of the
currently selected math type
MATH[1]:VERTical:SCAle Setso r returns the vertical scale of the
currently selected math type
MATH[1]:VERTical:UNIts Returnsthe math waveform v ertical units
MATH[1]:HORizontal:POSition Sets or returns the math horizontal display
position for FFT or (non-live) math reference
waveforms
MATH[1]:TYPe Sets or returns the math waveform mode
type
2-26 MSO4000 and DPO4000 Series Programmer Manual