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.

Example 2<br />

KEYENH Key Enhance<br />

Use the KEYENH comm<strong>and</strong> to turn on inverse video for the upper label line of softkey number<br />

1.<br />

Ul$=CHR$ (IS)<br />

IJff$=CHR$(lS)<br />

OUTPUT 718;"VARDEF I,NV,O;"<br />

OUTPUT 718;"VARDEF M-OVENH,O<br />

OUTPUT 718;"KEYENH l,%MY KEY<br />

EQ,I,NVO,QIF O,Eq,M,OVENHO;"<br />

Example 3<br />

. II<br />

9<br />

I";Ul$;"ON";Off$;" OFF%,@IF 0,<br />

Changing the condition of the inverse video mode to false turns off the inverse video.<br />

Ul$=CHR$(lG)<br />

Off$=CHR$(lS)<br />

OUTPUT 718;"MOV I,NV,O;"<br />

OUTPUT 718;"MOV M,OVENH,l;"<br />

OUTPUT 718;"KEYENH l,%MY KEYl";Ul$;"ON";Off$;" OFF%,OIF 0,<br />

EQ,I,NVO,QIF O,EQ,M,OVENHQ;"<br />

Defines UL$ as the character<br />

to turn the underline<br />

on.<br />

Dc#n-e.s OFF$ as the character<br />

to turn oflinverse<br />

video <strong>and</strong> underlining.<br />

The value of I-NV acts<br />

as a inverse video condition.<br />

The value of MSOVENH<br />

acts as the move enhancement<br />

condition.<br />

The MY KEY label line<br />

changes to inverse video,<br />

<strong>and</strong> OFF (in the lower<br />

label line) is underlined.<br />

B@ses UL$ as the character<br />

to turn the underline<br />

on.<br />

D@hes OFF$ as the character<br />

to turn oflinverse<br />

video <strong>and</strong> underlining.<br />

Changes the conditional<br />

vo9ue of MmOVENH.<br />

The ON portion of the<br />

lower label is underlined,<br />

the My KEY portion of<br />

the label is still in inverse<br />

video.<br />

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

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

Saved successfully!

Ooh no, something went wrong!