EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>4294A

Agilent Technologies 4294A Programming Manual

Agilent Technologies 4294A
518 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #253 background imageLoading...
Page #253 background image
Chapter 15 253
Setting the Display (LCD)
Sample program for setting the LCD screen
1. Chapter Title
2. Chapter Title 3. Chapter Title
4. Chapter Title
15. Setting the Display (LCD)
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 Identifies the external controller and Instrument BASIC and sets the
GPIB address and the select code.
Lines 80 to 90 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.
Lines 110 to 120 Sets the hue of the data trace A to Trc_a_tint.
Lines 130 to 160 Sets the chroma of the pens 2 to 6 in the Instrument BASIC screen to
Pen_clr.
Example 15-1 Setting Colors in the LCD Screen
10 INTEGER Trc_a_tint,Pen_clr
20 IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
30 ASSIGN @Hp4294a TO 800
40 ELSE
50 ASSIGN @Hp4294a TO 717
60 END IF
70 !
80 Trc_a_tint=33
90 Pen_clr=50
100 !
110 OUTPUT @Hp4294a;"COLO TRAD"
120 OUTPUT @Hp4294a;"TINT ";Trc_a_tint
130 FOR I=2 TO 6
140 OUTPUT @Hp4294a;"COLO PEN"&VAL$(I)
150 OUTPUT @Hp4294a;"COLOR ";Pen_clr
160 NEXT I
170 END

Table of Contents

Other manuals for Agilent Technologies 4294A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 4294A and is the answer not in the manual?

Agilent Technologies 4294A Specifications

General IconGeneral
BrandAgilent Technologies
Model4294A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals