HP 8712ET User Manual Supplement page 67

Automating measurements, rf network analyzers
Hide thumbs Also See for HP 8712ET:
Table of Contents

Advertisement

340
OUTPUT @Hp8711;"ABOR;:INIT1:CONT OFF;*WAI"
350
!
360
! Turn on Marker 1
370
OUTPUT @Hp8711;"CALC:MARK1 ON"
380
!
390
Count=0
400
T0=TIMEDATE
410
! Step from 175 MHz 463 MHz by 6 MHz
420
FOR Freq=175 TO 463 STEP 6
430
! Take a sweep
440
Freq_str$=VAL$(Freq)&" MHz"
450
OUTPUT @Hp8711;"SENS1:FREQ:CENT ";Freq_str$
460
OUTPUT @Hp8711;"INIT1;*WAI"
470
!
480
! Set marker to frequency
490
OUTPUT @Hp8711;"CALC:MARK:X ";Freq_str$
500
!
510
! Query the marker value
520
OUTPUT @Hp8711;"CALC:MARK:Y?"
530
ENTER @Hp8711;Response
540
!
550
! Display the first three numbers in the array.
560
Msg$="'"&Freq_str$&": "&VAL$(Response)&"'"
570
OUTPUT @Hp8711;"DISP:ANN:MESS ";Msg$
580
PRINT Msg$
590
Count=Count+1
600
NEXT Freq
610
T1=TIMEDATE
620
PRINT "Sweeps per second: ";Count/(T1-T0)
630
DISP "Sweeps per second: ";Count/(T1-T0)
640
END
Automating Measurements
Automated Measurement Setup and Control
Fast Iterative Control
5-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 8712esHp 8714etHp 8714es

Table of Contents