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.

170<br />

180<br />

190<br />

200<br />

210<br />

220<br />

230<br />

240<br />

250<br />

260<br />

270<br />

280<br />

290<br />

300<br />

310<br />

320<br />

330<br />

340<br />

350<br />

360<br />

370<br />

380<br />

390<br />

400<br />

410<br />

420<br />

430<br />

440<br />

450<br />

460<br />

470<br />

OUTPUT 718;"%,";<br />

OUTPUT 718."(6".<br />

OUTPUT 718;"IF'C.OUNTRY.EQ.O THEN;";<br />

OUTPUT 718;"KEYLBL l,%KSAD%;";<br />

OUTPUT 718;"ELSE;";<br />

OUTPUT 718;"KEYLBL l,%QSAD%;";<br />

OUTPUT 718;"ENDIF;";<br />

OUTPUT 718*"@-"-<br />

9 ,,<br />

!<br />

OUTPUT 718;"KEYCMD 2,";<br />

OUTPUT 718;"X";<br />

OUTPUT 718;"IF C-OUNTRY,EQ,l THEN;";<br />

OUTPUT 718;“MOV CF,l05.3MHZ;MOV SP,300KHZ;";<br />

OUTPUT 718;"MOV C,OUNTRY,O;";<br />

OUTPUT 718;"ELSE;";<br />

OUTPUT 718;"MOV CF,lOO.lMHZ;MOV SP,300KHZ;";<br />

OUTPUT 718;"MOV C-OUNTRY,l;";<br />

OUTPUT 718;"ENDIF;";<br />

OUTPUT 718;"%,";<br />

OUTPUT 718;"O";<br />

OUTPUT 718;"KEYENH 2,";<br />

OUTPUT 718;"/";<br />

OUTPUT 718;"COUNTRYI";Ul$;"YES";Off$;" NO";<br />

OUTPUT 718;"/";<br />

OUTPUT 718;",0,";<br />

OUTPUT 718;"!";<br />

OUTPUT 718;"IF CmOUNTRY,EQ,O";<br />

OUTPUT 718;"! ;'I;<br />

OUTPUT 718*"@-"* , ,,<br />

!<br />

END<br />

Description<br />

KEYCMD Key Comm<strong>and</strong><br />

The KEYCMD comm<strong>and</strong> updates the label whenever the softkey is pressed (as shown in<br />

example 2).<br />

The functions of KEYCMD <strong>and</strong> KEYDEF are similar. The advantage of KEYCMD is that the<br />

label of the softkey can change dependent on a conditional statement without the softkey itself<br />

being pressed. KEYCMD is useful for indicating the state of a function in the spectrum analyzer<br />

by changing the appearance of the softkey.<br />

Programming Comm<strong>and</strong>s 5-249

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

Saved successfully!

Ooh no, something went wrong!