DONE

Done

Allows you to determine when the spectrum analyzer has separated the spectrum analyzer
commands and has started to execute all commands prior to and including DONE. The
spectrum analyzer returns a value of “1” when
all
commands in a command string entered
before DONE have been started.
Syntax
DONE
function path only
XDONE
Related Commands: TS.
Example
OUTPUT
718;"IP;SNGLS;CF
lGHZ;SP
1GHZ;DONE;"
Because TS does not precede the DONE
command in this line, the center
fre-
quenxy and span values are set before
DONE returns a “1.
Functions cou-
pled to Sl:
such
as
R&
have not been
changed, and there is no trace data as-
sociated with the new frequency settings.
ENTER 718;Done
DISP Done
Example 2
OUTPUT 718;"IP;SNGLS;CF lGHZ;SP
1GHZ;TS;DONE;"
Because the take sweep (TS) must
be completed before the DONE com-
mand is executed, the autocoupled
functions and trace data have been
changed before the DONE command
is executed.
ENTER 718;Done
Stores 1 in computer variable, called
DorE
DISP Done
5-138
Programming Commands