To

Enter Values into a DLP

To allow the spectrum analyzer user to enter a value into a user-defined variable with the
analyzer front-panel keys use the active function definition command (ACTDEF).
Example
For example, if you want the user to enter the resolution bandwidth for use in the DLP, you
would use the following:
OUTPUT
718;"ACTDEF
M-BW,%ENTER
THE RESOLUTION Lets
theuserenter
the
valueofthe
BANDWIDTH#,SMHZ,STEP,!MOV
RB,M-BW!;"
resolution ban’dwidth with the
front-
panel keys.
Notice that like moving a value into a variable or a trace,
the
MOV command or another MATH
command must be used to move the ACTDEF value into the RB command. See the command
description for ACTDEF in Chapter 5 for more information.

To Enter Values into a

DIP

by Using a Softkey

Use the KEYCMD command to assign the ACTDEF command to a softkey.
Example
For example, to assign the ACTDEF to
softkey
2, your
would use the following:
OUTPUT
718;"KEYCMD
2,
M-BW,";
OUTPUT
718;"lKEYENH
2,
'RES BW',ACTVF
MmBW,O,%;";
4-6
Creating and Using Downloadable Programs