Sample Program For Setting The Lcd Screen - Agilent Technologies 4294A Programming Manual

Precision impedance analyzer
Hide thumbs Also See for 4294A:
Table of Contents

Advertisement

Sample program for setting the LCD screen

Example 15-1 shows a sample program for setting colors for the LCD screen. This
program is saved in the file "color.bas" on the sample program disk.
This program allows you to change the color of the data trace A to green and to increase the
whiteness of colors for the pens 2 to 6 in the Instrument BASIC screen.
Lines 20 to 60
Lines 80 to 90
Lines 110 to 120
Lines 130 to 160
Example 15-1
Setting Colors in the LCD Screen
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
Chapter 15
Identifies the external controller and Instrument BASIC and sets the
GPIB address and the select code.
Substitutes hue of the data trace A and chroma of the pens 2 to 6 in the
Instrument BASIC screen to the variables Trc_a_tint and Pen_clr,
respectively.
Sets the hue of the data trace A to Trc_a_tint.
Sets the chroma of the pens 2 to 6 in the Instrument BASIC screen to
Pen_clr.
INTEGER Trc_a_tint,Pen_clr
IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
ASSIGN @Hp4294a TO 800
ELSE
ASSIGN @Hp4294a TO 717
END IF
!
Trc_a_tint=33
Pen_clr=50
!
OUTPUT @Hp4294a;"COLO TRAD"
OUTPUT @Hp4294a;"TINT ";Trc_a_tint
FOR I=2 TO 6
OUTPUT @Hp4294a;"COLO PEN"&VAL$(I)
OUTPUT @Hp4294a;"COLOR ";Pen_clr
NEXT I
END
Setting the Display (LCD)
Sample program for setting the LCD screen
253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents