ONMKRU On Marker Update

ONMKRU

On Marker Update

Executes the Iistofspectrum analyzer commands whenever the value or the units of the active
marker are changed.
Syntax
corrmands
to
-
be executed
-
de I
imt
ter
analyzer
comnond
del
imi ter
Related Commands:
DISPOSE,IP.
Example
The following example uses ONMKRU to display the marker's amplitude in watts.
150
ASSIGN
QSa
TO 718
160
!
170
OUTPUT
OSa;"VARDEF
T,EMP,O;";
180
!
190
OUTPUT
QSa;"ONMKRU$";
200
OUTPUT
OSa;"EXP
T-EMP,MA,lO;"
Assigns the IO path to spectrum
anulyxer:
Lk$ines
a variable called T-EM2
210
OUTPUT
@Sa;"MPY
T-EMP,T-EMP,lOOO;t';
220
OUTPUT
OSa;"MOV
DA,O;";
230
240
250
260
270
280
290
OUTPUT
QSa;"PUPAlO,lOI;";
OUTPUT
OSa;"TEXT-Power:-;";
OUTPUT
OSa;"DSPLY
T-EMP,9.4;";
OUTPUT
OSa;"TEXT-
uW^;";
OUTPUT
@Sa;"$;";
I
Starts the ONMKRU
o!x$nition.
Changes the marker’s amplitude value
to milliwatts and places it in
T-Em
Changes the value of T-EMP to pwatts.
Changes the display address to 0 to
reset the display list.
B.&ions
the pen.
Displays a
label
for the results.
Displays the results.
Displays the units.
Ends the
ONWRU
d@nition.
OUTPUT OSa;"CF300MZ;"
Sets the center frequency to the cali-
bration signal.
300 OUTPUT
OSa;"SPlMZ;" Changes the span to 1 MHz.
310
OUTPUT
QSa;"RL
-2ODM;"
Sets the reference level.
320 OUTPUT
QSa;"RB30KZ;"
Sets the resolution bandwidth.
Programming Commands
5-399