AnsweredAssumed Answered

Need Helps On Programming the HP8753D with Calibration

Question asked by ThomasL on Jun 6, 2011
Latest reply on Jun 7, 2011 by Dr_joel
Hello;
I followed the Example 2D Using Raw Data to Create A Calibration ( Simmcal ) page 35 chapter 1 of the HP BASIC Programming Examples Guide HP Part No. 08753-90413 but unable to the NA have the correct calibration. 
I would like to simply it by just doing  a thru cal but also unsuccessful.
Here is the code which I tried to do a response calibration. But It did not work either. Please helps.

Greatly appreciate it.

Regards,

Thomas



38 OUTPUT @Nwa;”opc?;pres;”
39 ENTER @Nwa;X
40 OUTPUT @Nwa;”POIN51;FORM4;”
41 OUTPUT @Nwa;”CALK7MM;SWET1S;HOLD;”
96 DISP “MEASURING FORWARD TRANSMISSION”
97 OUTPUT @Nwa;”S21;OPC?;SING;”
98 ENTER @Nwa;Reply
99 BEEP
100 OUTPUT @Nwa;”OUTPRAW1”
101 ENTER @Nwa;Array06(*)
102 !
103 ! Now select S11 to gather forward match raw array.
104 !
105 OUTPUT @Nwa;”S11;OPC?;SING;”
106 ENTER @Nwa;Reply
107 BEEP
108 OUTPUT @Nwa;”OUTPRAW1”
109 ENTER @Nwa;Array05(*)
110 !
111 ! Now select S12 for reverse transmission raw array.
112 !
113 DISP “MEASURING REVERSE TRANSMISSION”
114 OUTPUT @Nwa;”S12;OPC?;SING;”
115 ENTER @Nwa;Reply
116 BEEP
117 OUTPUT @Nwa;”OUTPRAW1”
118 ENTER @Nwa;Array12(*)
119 !
120 ! Now select S22 for reverse match raw array.
121 !
122 OUTPUT @Nwa;”S22;OPC?;SING;”
123 ENTER @Nwa;Reply
124 BEEP
125 OUTPUT @Nwa;”OUTPRAW1”
126 ENTER @Nwa;Array11(*)

203 OUTPUT @Nwa;”CALIRESP;”
204 OUTPUT @Nwa;”OPC?;FWDT;”
205 ENTER @Nwa;Reply
206 OUTPUT @Nwa;”INPUCALC06”,Array06(*)
207 !
208 OUTPUT @Nwa;”OPC?;FWDM;”
209 ENTER @Nwa;Reply
210 OUTPUT @Nwa;”INPUCALC05”,Array05(*)
211 !
212 ! Now input the reverse transmission arrays.
213 !
214 !DISP “MEASURING REVERSE TRANSMISSION”
215 OUTPUT @Nwa;”OPC?;REVT;”
216 ENTER @Nwa;Reply
217 OUTPUT @Nwa;”INPUCALC12”,Array12(*)
218 !
219 OUTPUT @Nwa;”OPC?;REVM;”
220 ENTER @Nwa;Reply
221 OUTPUT @Nwa;”INPUCALC11”,Array11(*)
222 OUTPUT @Nwa;”RESPDONE;”
223 OUTPUT @Nwa;”RESPDONE;”  

Outcomes