EasyManua.ls Logo

Agilent Technologies E5071C - Page 1070

Agilent Technologies E5071C
2685 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming
1297
Control LCD Update Timing
• Overview
• Sample Program in HT Basic
Other topics about Sample Programs
Overview
This sample program is provided in this section where the command
processing time is improved by controlling the update timing of the LCD
display.
• This sample program correctly runs when the maximum number
of channels/traces is set to 9 channels/9 traces.
This program sets the necessary measurement conditions and then turns
off the updating of the LCD display. Next, it performs measurement, reads
out the result, and updates the screen once. This program repeats this
measurement procedure ten times.
See Improving Command Processing Speed for this programming.
Sample Program in HT Basic (cont_upd.htb)
10 REAL Trace1(1:201,1:2),Trace2(1:201,1:2)
20 DIM Buff$[9],Img$[30]
30 INTEGER Nop,I
40 !
50 ASSIGN @Agte507x TO 717
60 ASSIGN @Binary TO 717;FORMAT OFF
70 !
80 OUTPUT @Agte507x;":SENS1:SWE:TYPE LIN"
90 OUTPUT @Agte507x;":SENS1:FREQ:CENT 950E6"
100 OUTPUT @Agte507x;":SENS1:FREQ:SPAN 100E6"
110 OUTPUT @Agte507x;":SENS1:SWE:POIN 201"
120 OUTPUT @Agte507x;":TRIG:SOUR BUS"
130 OUTPUT @Agte507x;":INIT1:CONT ON"
140 FOR I=2 TO 9
150 OUTPUT @Agte507x;":INIT"&VAL$(I)&":CONT OFF"
160 NEXT I
170 !
180 OUTPUT @Agte507x;":DISP:SPL D1"
190 OUTPUT @Agte507x;":DISP:WIND1:SPL D1_2"
200 !
210 OUTPUT @Agte507x;":CALC1:PAR:COUN 2"

Table of Contents