302 Chapter5
Programming
Program Timing
Figure 5-7 Update trace with TS before executing marker commands.
As the example shows, TS is executed after analyzer settings are
changed, but before trace information is processed.
There are two commands that change the measurement range
indirectly: MKCF (marker to center frequency) and MKRL (marker to
reference level). They set the center frequency and reference level equal
to the marker frequency and amplitude, respectively. If valid trace
information is needed, a TS command must be executed after these
commands are executed.
The TS command invokes at least one entire sweep. It invokes more
than one sweep when certain commands are active, such as SP
(frequency span) when MKTRACK (marker tracking) is turned on.
NOTE To ensure that all processes have been completed (for example, MKFC),
take a sweep and then query the data.