09.12.2012 Views

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ACTDEF Active Function Definition<br />

Item Description/Default Range<br />

Character (function name) Any valid character. Use the function name as the remote 2 to 11 characters<br />

comm<strong>and</strong> name. long, A through Z <strong>and</strong><br />

the underscore (the<br />

underscore should be<br />

used as the second<br />

character of the<br />

label).<br />

Character (text for active Any valid character. The active function label is displayed in the<br />

function label) active function block (when the function is active).<br />

User-defined variable A variable defined by VARDEF or ACTDEF comm<strong>and</strong>s. Any valid variable<br />

name.<br />

Number Any real or integer number. Default value is 0, default unit is Real number range.<br />

none.<br />

Delimiter Matching characters marking the beginning <strong>and</strong> end of the list of - 1 \ @ = / ^ $ % ; ! ’ :<br />

spectrum analyzer comm<strong>and</strong>s. ” &<br />

Analyzer comm<strong>and</strong> Any valid spectrum analyzer comm<strong>and</strong>.<br />

User-deflned function A function defined by the FUNCDEF comm<strong>and</strong>. Any valid function<br />

name.<br />

Prerequisite Comm<strong>and</strong>: FUNCDEF when using a user-defined function. VARDEF when using<br />

a user-defined variable.<br />

Example 1<br />

10 DIM A$[1501<br />

20 OUTPUT 718;"ACTDEF M-BW,%MY BANDWIDTH%,5MHZ,STEP,@";<br />

30 OUTPUT 718;"MOV RB,M-BWO;";<br />

40 OUTPUT 718;"M,BW;"<br />

50 OUTPUT 718;"ACTDEF M-BW?;"<br />

60 ENTER 718;A$<br />

70 DISP A$<br />

80 END<br />

5-50 Programming Comm<strong>and</strong>s<br />

Dimensions array to hold<br />

query response.<br />

lk$ms a function called<br />

M-BW M-BWallows manipulation<br />

of the initial<br />

value of RES BW (5<br />

MHz) by the step keys<br />

<strong>and</strong> the knob. The resolution<br />

b<strong>and</strong>width will<br />

be rounded to the nearest<br />

allowable b<strong>and</strong>width,<br />

howevex The “@” symbol<br />

marks the end of the<br />

ACTDEF declaration.<br />

Activates the M-BWfunction.<br />

Queries the &fir&ion of<br />

the M-BWfunction.<br />

Displays the definition<br />

of the M-BWfunction.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!