EasyManuals Logo

Agilent Technologies 8719ES Programmer's Guide

Agilent Technologies 8719ES
541 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 #416 background imageLoading...
Page #416 background image
Chapter 7 7-53
Programming Examples
Measurement Calibration Examples
76 !
77 ! Choose an S-Parameter to send back to the Network Analyzer
78 !
79 REPEAT
80 INPUT “SELECT S-Parameter: 1=S11, 2=S21, 3=S12, 4=S22”,Disp
81 SELECT Disp
82 CASE 1
83 Title$=”S11”
84 Again=0
85 CASE 2
86 Title$=”S21”
87 Again=0
88 CASE 3
89 Title$=”S12”
90 Again=0
91 CASE 4
92 Title$=”S22”
93 Again=0
94 CASE ELSE
95 Again=1
96 END SELECT
97 UNTIL Again=0
98 OUTPUT @Nwa;”TITL”””&Title$&”””;”
99 !
100 ! For this demonstration, we will return corrected values to the
101 ! memory trace. Therefore, display memory only
102 !
103 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
104 !
105 ! Note: Displaying MEMORY only inhibits the analyzer’s data
106 ! processing. Raw, Data, and Formatted arrays are not
107 ! updated. PreRaw is good.
108 !
109 OUTPUT @Nwa;”DATI;DISPMEMO;BEEPDONEOFF;”
110 PRINT “PRESS ANY KEY TO STOP”
111 Time1=TIMEDATE
112 !
113 ! Take the first sweep
114 !
115 OUTPUT @Nwa;”OPC?;SWPSTART;”
116 Run=1
117 Count=0
118 !
119 ! Now keep looping until any key is pressed
120 !
121 Timefmt:IMAGE “Cycle: “,2D,5X,” 2-port Cal: “,2D.DD,X,”secs, + displayed:
“,2D.DDD,X,”seconds.”
122 ON KBD GOSUB Stop_running
123 REPEAT
124 Count=Count+1
125 ENTER @Nwa;Done ! Read the OPC from the SWPSTART Command
126 GOSUB Read_4_raw ! Read the four raw S-parameters
127 GOSUB Calc_2_port ! Calculate the Corrected S-parameters
128 Time2=TIMEDATE
129 OUTPUT @Nwa;”INPUDATA;” ! Input them into the data array
130 OUTPUT @Nwdat;Hdr,Length ! Data header, same as the cal coeff’s
131 SELECT Disp
132 CASE 1

Table of Contents

Other manuals for Agilent Technologies 8719ES

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 8719ES Specifications

General IconGeneral
BrandAgilent Technologies
Model8719ES
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals