home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / tech / eepub11 / 8970d.asc < prev    next >
Text File  |  1987-01-21  |  40KB  |  533 lines

  1. 10    ! DATA FILE "8970D", S.HAIMOV & I.ANGELOV, October 1986            !
  2. 20    !                                                                  !
  3. 30    !            DESCRIPTION OF PROGRAM "8970A"                        !
  4. 40    !                                                                  !
  5. 50    !                                                                  !
  6. 60    !      INTRODUCTION                                                !
  7. 70    !                                                                  !
  8. 80    !      Program "8970A" is intended to measure the gain and noise   !
  9. 90    ! figure (and/or noise temperature) of microwave devices such as   !
  10. 100   ! amplifiers, mixers and receivers.                                !
  11. 110   !      This  program  version  (V.2.0)  uses  HP8970A  Noise       !
  12. 120   ! Figure Meter (NFM) and HP8350A Sweep Oscillator (or HP8672A      !
  13. 130   ! Synthesized Signal Generator).  The frequency range for noise    !
  14. 140   ! measurement is from 10 MHz to 60 GHz with an external sweep      !
  15. 150   ! oscillator and from 10 to 1500 MHz for the IF frequencies.       !
  16. 160   ! (ATTENTION!  The frequency range is from 2GHz to 40GHz when the  !
  17. 170   ! HP8350A Sweep Osillator is used)                                 !
  18. 180   !      The "8970A" program is executable on the HP9845 Desktop     !
  19. 190   ! computer with the following configuration:                       !
  20. 200   !      * HP9845 B/C  Desktop computer with minimum 32K RAM;        !
  21. 210   !      * I/O ROM Option 312;                                       !
  22. 220   !      * Graphic  ROM Option 311;                                  !
  23. 230   !      * 98034  HP-IB  Interface (IEEE 488, 1978).                 !
  24. 240   !                                                                  !
  25. 250   !      A description of the measurement procedure is given in      !
  26. 260   ! our paper named "Computer-Aided Microwave Noise Measurement",    !
  27. 270   ! pubblished in the July,1986 issue of the MICROWAVE JOURNAL.      !
  28. 280   !                                                                  !
  29. 290   !                                                                  !
  30. 300   !      DUPLICATE DISK                                              !
  31. 310   !                                                                  !
  32. 320   !      Make a duplicate of the master disk(or cartridge)  and use  !
  33. 330   ! the duplicate disk(or cartridge) as working unit.                !
  34. 340   !      Note that "8970A" is recorded on a mass storage unit using  !
  35. 350   ! the SAVE statement in order to transport the program between     !
  36. 360   ! computers with different configurations. If the faster program   !
  37. 370   ! loading provided by recording the program in PROG format is      !
  38. 380   ! desired you may GET "8970A <mass storage unit specifier>" and    !
  39. 390   ! STORE "8970A<mass storage unit specifier>" on the working mass   !
  40. 400   ! storage unit.                                                    !
  41. 410   !                                                                  !
  42. 420   !                                                                  !
  43. 430   !      PROGRAM OPERATION                                           !
  44. 440   !                                                                  !
  45. 450   !      1. Load Program.                                            !
  46. 460   !                                                                  !
  47. 470   !      Load and execute the "8970A" program as follows:            !
  48. 480   ! a. Install disk(or tape cartridge).                              !
  49. 490   ! b. GET "8970A <mass storage unit specifier>" EXECUTE             !
  50. 500   ! c. When the program is loaded, press RUN .                       !
  51. 510   ! <mass storage unit spec.>= |:T15 or :T14 for Tape Cartridge      !
  52. 520   !                            |:F<select code> for HP9885M Flex.Disk!
  53. 530   !                            |:H<select code> for HP9895A Flex.Disk!
  54. 540   !      The program outputs prompts and operator instructions to the!
  55. 550   ! display. Respond by typing upper and lower (only for title label)!
  56. 560   ! case characters and numbers, then press CONT, or by performing   !
  57. 570   ! the indicated operation and then pressing CONT.                  !
  58. 580   !                                                                  !
  59. 590   !                                                                  !
  60. 600   !      2. Operating considerations.                                !
  61. 610   !                                                                  !
  62. 620   !      * Once the program has started, do not press RUN or STOP    !
  63. 630   ! then CONT unless your intention is to restart the program from   !
  64. 640   ! the beginning. When RUN or STOP then CONT is pressed,all calibra-!
  65. 650   ! tion and measerement data is reinitialized. If it is necessery to!
  66. 660   ! interrupt  program  operation to use the desktop  computer  for  !
  67. 670   ! another  purpose, the current  calibration  data can be saved by !
  68. 680   ! recording memory using an initialized cartridge(disk) as follows:!
  69. 690   !      With the program prompt "[L]IST DATA,[P]LOT,[N]EXT          !
  70. 700   ! MEASUREMENT,[S]TOP THE PROGRAM ?" displayed, press STOP, then    !
  71. 710   ! enter: STORE ALL "<file specifier>" EXECUTE                      !
  72. 720   ! This saves the current state of memory  on an initialized unit.  !
  73. 730   ! To restore memory, enter: LOAD ALL "<file specifier>" EXECUTE    !
  74. 740   ! <file specifier> - file name and mass storage unit specifier     !
  75. 750   ! When memory is loaded, enter: CONT List EXECUTE , the program    !
  76. 760   ! will resume operation at the "[L]IST DATA,[P]LOT,[N]EXT          !
  77. 770   ! MEASUREMENT, [S]TOP THE PROGRAM ?" prompt. Enter the response,   !
  78. 780   ! then press CONT.                                                 !
  79. 790   !                                                                  !
  80. 800   !      * If program  operation is inadvertently stopped during the !
  81. 810   ! calibration sequence, restart the program from the beginning by  !
  82. 820   ! pressing RUN. If program operation is interrupted during the     !
  83. 830   ! measurement sequence, the program can be restarted without losing!
  84. 840   ! calibration data by entering:                                    !
  85. 850   !      CONT List EXECUTE                                           !
  86. 860   !                                                                  !
  87. 870   !      * Each time the system prompts the operator to make a device!
  88. 880   ! connection you may verify the connection by observing the trace. !
  89. 890   !                                                                  !
  90. 900   !      * The permitted responses for INPUT statements are given in !
  91. 910   ! prompts with square brackets or/and in inverse video. The default!
  92. 920   ! values are explicitly given (for instance: Default 25) or only in!
  93. 930   ! blinking mode and underlined.                                    !
  94. 940   !                                                                  !
  95. 950   !      * Responses YES and NO are entered in brief form with the   !
  96. 960   ! first uppercase letter: Y and N. For convenience the default     !
  97. 970   ! response is not obligatory. Example: When the following prompt   !
  98. 980   !        DO YOU WANT A HARD COPY [Y/N]?                            !
  99. 990   ! appears you may enter Y to make a hard copy or press CONT,enter N!
  100. 1000  ! or an arbitrary string different from Y to ignore the hard copy. !
  101. 1010  !                                                                  !
  102. 1020  !      * There is no check for the type of data (digits or string) !
  103. 1030  ! and if you confuse the response a system error may occur. In this!
  104. 1040  ! case, if calibration has not yet started and finished the program!
  105. 1050  ! has to be restarted  but if the calibration is over, enter       !
  106. 1060  ! CONT List EXECUTE .                                              !
  107. 1070  !                                                                  !
  108. 1080  !      * The maximum number of the test frequencies is 100.        !
  109. 1090  ! This value is changed on line number 90(DIM statement).          !
  110. 1100  ! The device addresses and interface select code are given on line !
  111. 1110  ! numbers 150 to 200. If other addresses are used the respective   !
  112. 1120  ! line is to be replaced.                                          !
  113. 1130  !                                                                  !
  114. 1140  !      * When the same prompt occurs more than once in the process !
  115. 1150  ! of entering input data, it means that the entered data are wrong.!
  116. 1160  ! In order to find the correct entry refer to the "3. Program      !
  117. 1170  ! prompts." section in this instruction.                           !
  118. 1180  !                                                                  !
  119. 1190  !      * When several values have to be entered in one prompt they !
  120. 1200  ! are separeted with commas. Other delimiters such as space, slash,!
  121. 1210  ! etc.are not allowed.                                             !
  122. 1220  !                                                                  !
  123. 1230  !                                                                  !
  124. 1240  !      3. Program prompts.                                         !
  125. 1250  !                                                                  !
  126. 1260  !         M A I N   P R O G R A M                                  !
  127. 1270  !                                                                  !
  128. 1280  !       * Initial data                                             !
  129. 1290  !                                                                  !
  130. 1300  ! ENTER THE DATE (Format:99/99/99, Default: No Date)?
  131. 1310  !                                                                  !
  132. 1320  ! Press CONT if you don't wish the Date. Enter the current Date    !
  133. 1330  ! with recommended format or with not more than 18 characters      !
  134. 1340  ! (Example: September 25, 1986).                                   !
  135. 1350  !                                                                  !
  136. 1360  ! ENTER AMBIENT TEMPERATURE (degrees Celsius,Default 25)?
  137. 1370  !                                                                  !
  138. 1380  ! Press CONT if you want to use the default value 25deg. The range !
  139. 1390  ! of permitted temperatures is from 5 to 40 degrees.               !
  140. 1400  !                                                                  !
  141. 1410  !       * External LO Programs for HP8350A and HP8672A             !
  142. 1420  !                                                                  !
  143. 1430  ! ENTER THE OSCILLATOR: 8350(2-40GHz),8672(2-18GHz)?
  144. 1440  !                                                                  !
  145. 1450  ! Press CONT if you want to use HP8350A. It is the same as if you  !
  146. 1460  ! enter 8350 OR 1. Enter 8672 or 2 if you want to use HP8672A.     !
  147. 1470  !                                                                  !
  148. 1480  !       * Measurement Device Selection                             !
  149. 1490  !                                                                  !
  150. 1500  ! WHAT ARE YOU GOING TO MEASURE([A]mplifier,[M]ixer,[R]eceiver)?
  151. 1510  !                                                                  !
  152. 1520  ! Press CONT  or enter A for amplifier. Enter M for mixer or enter !
  153. 1530  ! R for receiver.                                                  !
  154. 1540  !                                                                  !
  155. 1550  !       . Amplifier                                                !
  156. 1560  !                                                                  !
  157. 1570  ! WHAT KIND OF AMPLIFIER: Fix.[IF](Mode 1.0 or 1.1) , [V]ar.IF(Mode
  158. 1580  ! 1.2)?
  159. 1590  !                                                                  !
  160. 1600  ! Press CONT or enter IF for mode 1.0 or 1.1 of the NFM. Enter V   !
  161. 1610  ! for mode 1.2 of the NFM.                                         !
  162. 1620  !      If you enter V the following prompt occurs:                 !
  163. 1630  !                                                                  !
  164. 1640  ! SELECT SINGLE SIDEBAND OFFSET(LSB or USB): Fix.[LO-]IF ,
  165. 1650  ! Fix.[LO+]IF ?
  166. 1660  !                                                                  !
  167. 1670  ! Press CONT or enter LO- for Lower Single Sideband frequency      !
  168. 1680  ! offset of the NFM (measurement frequency less than LO frequency).!
  169. 1690  ! Enter LO+ for Upper Single Sideband frequency offset of the NFM  !
  170. 1700  ! (measurement frequency greater than LO frequency)                !
  171. 1710  !                                                                  !
  172. 1720  !       . Amplifier with LO-IF or LO+IF                            !
  173. 1730  !                                                                  !
  174. 1740  ! ENTER: Start FREQ., Stop freq., Step size, LO freq.(All in MHz)?
  175. 1750  !                                                                  !
  176. 1760  ! Enter the first test frequency(Start), last test frequency(Stop),!
  177. 1770  ! frequency interval(Step) and LO frequency in MHz  with  the      !
  178. 1780  ! following conditons:                                             !
  179. 1790  !      ~ Start freq. <= Stop freq.                                 !
  180. 1800  !      ~ Step size <= Stop freq.-Start freq.                       !
  181. 1810  !      ~ Stop freq.-Start freq. <= 1500 MHz                        !
  182. 1820  !      ~ Step size > 0 MHz                                         !
  183. 1830  !      ~ 2000 MHz =< LO freq. <= 60000 MHz                         !
  184. 1840  !      NOTE  that there is no check for the max. LO freq. permitted!
  185. 1850  ! by the external local oscillator.                                !
  186. 1860  !                                                                  !
  187. 1870  !       . Amplifier with Fix. IF                                   !
  188. 1880  !                                                                  !
  189. 1890  ! ENTER:Start freq.,Stop freq.,Step size,IF freq.(All in MHz)?
  190. 1900  !                                                                  !
  191. 1910  ! Enter the first test frequency(Start), last test frequency(Stop),!
  192. 1920  ! frequency interval(Step) and IF frequency in MHz   with  the     !
  193. 1930  ! following conditions:                                            !
  194. 1940  !      ~ Start freq. <= Stop freq.                                 !
  195. 1950  !      ~ Step size <= Stop freq. - Start freq                      !
  196. 1960  !      ~ Step size > 0 MHZ                                         !
  197. 1970  !      ~ Start freq >= 10 MHz                                      !
  198. 1980  !      ~ Stop freq. <= 60000 MHz                                   !
  199. 1990  !      ~ Start to Stop frequency range mustn't include the 1500 MHz!
  200. 2000  !        to 2000 MHz frequency range                               !
  201. 2010  !      ~ IF freq.=10MHz to 1500MHz (only when Start freq.>=2000MHz)!
  202. 2020  !      NOTE that there is no check for the max. test frequency     !
  203. 2030  ! permitted by the external local oscillator.                      !
  204. 2040  !                                                                  !
  205. 2050  !       . Mixer                                                    !
  206. 2060  !                                                                  !
  207. 2070  ! ENTER: IF_freq.(Default 150MHz)?
  208. 2080  ! Press CONT to enter 150MHz for IF frequency or enter IF frequency!
  209. 2090  ! value.The range of permitted IF frequencies is from 10 to 1500MHz!
  210. 2100  !                                                                  !
  211. 2110  !       . Receiver                                                 !
  212. 2120  !                                                                  !
  213. 2130  ! ENTER: Start IF_freq.,Stop IF_freq.,Step size (All in MHz)?
  214. 2140  !                                                                  !
  215. 2150  ! Enter the first IF freq.(Start), last IF freq.(Stop) and the IF  !
  216. 2160  ! frequency interval(Step) in MHz with the following conditions:   !
  217. 2170  !      ~ Start IF freq. >= 10 MHz                                  !
  218. 2180  !      ~ Stop IF freq. <= 1500 MHz                                 !
  219. 2190  !      ~ Stop IF freq. > Start IF freq.                            !
  220. 2200  !      ~ Step size > 0 MHz                                         !
  221. 2210  !      ~ Step size <= Stop freq. - Start freq.                     !
  222. 2220  !                                                                  !
  223. 2230  !       * Transfer control, Loss compensation, LO Output power     !
  224. 2240  !                                                                  !
  225. 2250  ! CHANGE: Trans.control,Loss comp.,Freq.range,LO power or Smooth.
  226. 2260  !         factor [Y/N]?
  227. 2270  !                                                                  !
  228. 2280  ! This prompt does not appear when the program is executed for the !
  229. 2290  ! first time or after RUN command.                                 !
  230. 2300  ! Press CONT if you want to measure with previous data. Enter Y if !
  231. 2310  ! you want to change the response even for one of the following    !
  232. 2320  ! prompts:                                                         !
  233. 2330  !                                                                  !
  234. 2340  ! Transfer control of LO [Y/N]?
  235. 2350  ! LOSS COMPENSATION:[N]o,[F]ix.,[V]ar.,[M]easured Var.?
  236. 2360  ! ENTER: Start LO_freq.,Stop LO_freq.,Step size(All in MHz)?(MIXER)
  237. 2370  ! Do you want to reduce frequency range [Y/N]? (for AMPLIFIER)
  238. 2380  ! Do you want to reduce IF frequency range [Y/N]? (for RECEIVER)
  239. 2390  ! Local Oscillator OUTPUT POWER (6dBm,8dBm,10dBm)? (for HP8672A)
  240. 2400  ! Do you want new Smoothing factor [Y/N]?
  241. 2410  !                                                                  !
  242. 2420  !    Some of the above prompts are explained later in this section.!
  243. 2430  !                                                                  !
  244. 2440  ! Transfer control of LO [Y/N]?
  245. 2450  !                                                                  !
  246. 2460  ! Enter Y if you want to transfer control from computer to NFM.    !
  247. 2470  !      This mode is usefull when the operator want to check some-  !
  248. 2480  ! thing or to make local measurement with NFM.                     !
  249. 2490  !                                                                  !
  250. 2500  ! ENTER: Start LO_freq.,Stop LO_freq.,Step size(All in MHz)?
  251. 2510  !                                                                  !
  252. 2520  ! This prompt occurs only for measurement of mixers.               !
  253. 2530  ! Enter first LO frequency(Start), last LO frequency(Stop) and     !
  254. 2540  ! frequency interval(Step) in MHz with the following conditions:   !
  255. 2550  !      ~ Start freq. >= 10 MHz                                     !
  256. 2560  !      ~ Stop freq. > Start freq.                                  !
  257. 2570  !      ~ Step size <= Stop freq. - Start freq.                     !
  258. 2580  !      ~ Step size > 0 MHz                                         !
  259. 2590  !      ~ Stop freq. <= 60000 MHz                                   !
  260. 2600  !      ~ Start to Stop frequency range mustn't include the 1500 to !
  261. 2610  !        2000 MHz frequency range                                  !
  262. 2620  !      NOTE that there is no check for the max.LO freq. permitted  !
  263. 2630  ! by the external local oscillator.                                !
  264. 2640  !                                                                  !
  265. 2650  ! ENTER: Local Oscillator OUTPUT POWER (6dBm,8dBm,10dBm)?
  266. 2660  !                                                                  !
  267. 2670  ! Only when the Local Oscillator is HP8672A this prompt occurs.    !
  268. 2680  ! Press CONT to enter default value 10dBm. Enter 6 or 8 for 6dBm   !
  269. 2690  ! or 8dBm.                                                         !
  270. 2700  !                                                                  !
  271. 2710  !       * Measures and Prints DUT Data                             !
  272. 2720  !                                                                  !
  273. 2730  ! ENTER LABEL ?                                                    !
  274. 2740  !                                                                  !
  275. 2750  ! Connect the device and press CONT to start the measurement. Label!
  276. 2760  ! information of Tables and Graphics will not be printed.          !
  277. 2770  ! Connect the device and enter label(not more than 55 char.) to    !
  278. 2780  ! start the measurement. Label information will be printed on top  !
  279. 2790  ! of the Tables and Graphics.                                      !
  280. 2800  !                                                                  !
  281. 2810  ! [L]IST DATA, [P]LOT, [N]EXT MEASUREMENT,[S]TOP THE PROGRAM ?
  282. 2820  !                                                                  !
  283. 2830  ! Press CONT or enter L to list the data. Enter P to draw  the     !
  284. 2840  ! noise and gain graphics. Enter N for next measurement whitout    !
  285. 2850  ! new calibration. Enter S or press CONT to terminate the program. !
  286. 2860  !                                                                  !
  287. 2870  !                                                                  !
  288. 2880  !          S U B R O U T I N E S                                   !
  289. 2890  !                                                                  !
  290. 2900  !       * ENTER SMOOTHING FACTOR TO HP8970A                        !
  291. 2910  !                                                                  !
  292. 2920  ! ENTER:Smoothing factor(in power of two, Min=1,Max=64,Default 8)?
  293. 2930  !                                                                  !
  294. 2940  ! Press CONT to enter the default value 8 or enter one of these    !
  295. 2950  ! values: 1, 2, 4, 8, 16, 32, 64.                                  !
  296. 2960  !                                                                  !
  297. 2970  !       * ENTER OR MEASUREMENT LOSS COMPENSATION                   !
  298. 2980  !                                                                  !
  299. 2990  ! LOSS COMPENSATION:[N]o,[F]ix.,[V]ar.,[M]easured Var.(Default..)?
  300. 3000  !                                                                  !
  301. 3010  ! Enter N to ignore the losses. Enter F to get the fixed losses at !
  302. 3020  ! the ambient temperature. Enter V (only for amplifiers) to measure!
  303. 3030  ! varying losses and use them to measure the amplifier.            !
  304. 3040  ! Enter M when you want to use already measured varying losses.    !
  305. 3050  !      Default response (..)  is current and saves the previous    !
  306. 3060  ! response. When you start the program from the beginning the      !
  307. 3070  ! default response is N.                                           !
  308. 3080  !                                                                  !
  309. 3090  !      You have entered V. Now this prompt appears:                !
  310. 3100  !                                                                  !
  311. 3110  ! [M]anual entry or Measurement with [N]oise Figure Meter?
  312. 3120  !                                                                  !
  313. 3130  ! Enter N to measure varying losses with NFM by following the      !
  314. 3140  ! display instructions. Enter M for manual entry of the losses in  !
  315. 3150  ! the input and output cables. In this mode you may enter the      !
  316. 3160  ! corresponding losses for every desirable test frequency.         !
  317. 3170  !      Example:                                                    !
  318. 3180  !               INPUT CABLE                                        !
  319. 3190  !               Frequency = 2000 MHz                               !
  320. 3200  !               Loss compensation (Default 0 dB)?                  !
  321. 3210  !               0.4      (you enter)                               !
  322. 3220  ! All entered losses are printed on the display and the following  !
  323. 3230  ! prompt occurs:                                                   !
  324. 3240  !                                                                  !
  325. 3250  ! Loss values OK [Y/N]?
  326. 3260  !                                                                  !
  327. 3270  ! If you enter N you may change loss values by following the       !
  328. 3280  ! display instructions.                                            !
  329. 3290  !                                                                  !
  330. 3300  !      You have entered F. Now two prompts appear.                 !
  331. 3310  !                                                                  !
  332. 3320  ! One or two pairs of cables [1,2]?
  333. 3330  !                                                                  !
  334. 3340  ! This prompt doesn't occur if you measure a receiver.             !
  335. 3350  ! Press CONT or enter 1 if you want to use one pair of cables.     !
  336. 3360  ! One pair of cables is used for the measurment of the DUT at the  !
  337. 3370  ! ambient temperature. Enter 2 if you want to use two pairs of     !
  338. 3380  ! cables. Two pairs of cables are used for the measurement of the  !
  339. 3390  ! DUT at the cryogenic temperature. The first pair has  to be at   !
  340. 3400  ! the cryogenic temperature and the second pair - at the ambient   !
  341. 3410  ! temperature.                                                     !
  342. 3420  !                                                                  !
  343. 3430  ! LOSS COMPENS. before DUT(Default..dB) and after DUT(Default..dB)?
  344. 3440  !                                                                  !
  345. 3450  ! This prompt appears twice if your response to the previous prompt!
  346. 3460  ! was 2 (pairs of cables).                                         !
  347. 3470  ! Default values (..) are current and save the last entered loss   !
  348. 3480  ! commpensation values.                                            !
  349. 3490  ! Press CONT for default values or  enter new values.              !
  350. 3500  !                                                                  !
  351. 3510  ! LOSS TEMPERATURE ( Default ..)?
  352. 3520  !                                                                  !
  353. 3530  ! Enter the temperature of the measurement in degrees Celsius.     !
  354. 3540  ! The Default value (..)  is the ambient temperature.              !
  355. 3550  !                                                                  !
  356. 3560  !       * MEASURE/STORE AMPLIFIER or MIXER DATA and VARYING LOSSES !
  357. 3570  !                                                                  !
  358. 3580  ! The following prompts occur if you measure an amplifier.         !
  359. 3590  !                                                                  !
  360. 3600  ! Do you want to reduce frequency range [Y/N]?
  361. 3610  !                                                                  !
  362. 3620  ! Enter Y if you want to measure in a reduced frequency range      !
  363. 3630  ! releted to the calibrated frequency range and the next prompt    !
  364. 3640  ! occurs:                                                          !
  365. 3650  !                                                                  !
  366. 3660  ! ENTER: Start freq.,Stop freq.,Step size(All in MHz)?
  367. 3670  !                                                                  !
  368. 3680  ! Enter reduced values with the following conditions:              !
  369. 3690  !      ~ Start freq. >= Calibrated Start freq.                     !
  370. 3700  !      ~ Stop freq. <= Calibrated Stop freq.                       !
  371. 3710  !      ~ Step size > 0 MHz                                         !
  372. 3720  !      ~ Step size <= Stop freq. - Start freq.                     !
  373. 3730  !      ~ Start freq. <= Stop freq.                                 !
  374. 3740  !                                                                  !
  375. 3750  ! Do you want new Smoothing factor [Y/N]?
  376. 3760  !                                                                  !
  377. 3770  ! Enter Y if you want to change the smoothing factor of the data   !
  378. 3780  ! measured.                                                        !
  379. 3790  !                                                                  !
  380. 3800  !       * MEASURE/STORE RECEIVER DATA                              !
  381. 3810  !                                                                  !
  382. 3820  ! ENTER:Start LO_freq.,Stop LO freq.,Step size(All in MHz)?
  383. 3830  !                                                                  !
  384. 3840  ! This prompt appears only once when you measure a receiver for    !
  385. 3850  ! the first time.                                                  !
  386. 3860  ! Enter first LO frequency(Start), last LO frequency(Stop) and     !
  387. 3870  ! frequency interval(Step) in MHz with the following conditions:   !
  388. 3880  !      ~ Start freq. >= 10 MHz                                     !
  389. 3890  !      ~ Stop freq. > Start freq.                                  !
  390. 3900  !      ~ Step size <= Stop freq. - Start freq.                     !
  391. 3910  !      ~ Step size > 0 MHz                                         !
  392. 3920  !      ~ Stop freq. <= 60000 MHz                                   !
  393. 3930  !      ~ Start to Stop frequency range mustn't include the 1500 to !
  394. 3940  !        2000 MHz frequency range                                  !
  395. 3950  !      NOTE that there is no check for the max.LO freq. permitted  !
  396. 3960  ! by the external local oscillator.                                !
  397. 3970  !                                                                  !
  398. 3980  ! Do you want to reduce IF frequency range [Y/N]?
  399. 3990  !                                                                  !
  400. 4000  ! Enter Y if you want to measure in a reduced frequency range      !
  401. 4010  ! releted to the calibrated frequency range and the next prompt    !
  402. 4020  ! occurs:                                                          !
  403. 4030  !                                                                  !
  404. 4040  ! ENTER: Start IF_freq.,Stop IF_freq.,Step size(All in MHz)?
  405. 4050  !                                                                  !
  406. 4060  ! Enter reduced values with the following conditions:              !
  407. 4070  !      ~ Start IF freq. >= Calibrated Start freq.                  !
  408. 4080  !      ~ Stop IF freq. <= Calibrated Stop freq.                    !
  409. 4090  !      ~ Step size > 0 MHz                                         !
  410. 4100  !      ~ Step size <= Stop IF freq. - Start IF freq.               !
  411. 4110  !      ~ Start IF freq. <= Stop IF freq.                           !
  412. 4120  !                                                                  !
  413. 4130  ! Do you want new Smoothing factor [Y/N]?
  414. 4140  !                                                                  !
  415. 4150  ! Enter Y if you want to change smoothing factor of the data.      !
  416. 4160  !                                                                  !
  417. 4170  !       * PRINTS/DRAWS DUT                                         !
  418. 4180  !                                                                  !
  419. 4190  ! DO YOU WANT A HARD COPY [Y/N]?
  420. 4200  !                                                                  !
  421. 4210  ! Enter Y to output data to the line printer.                      !
  422. 4220  !                                                                  !
  423. 4230  !       * DRAW GAIN and NOISE FIGURE GRAPHICS                      !
  424. 4240  !                                                                  !
  425. 4250  !                                                                  !
  426. 4260  ! LO_frequency=...
  427. 4270  ! DO YOU WANT GRAPHICS FOR THIS FREQUENCY [Y/N]?
  428. 4280  !                                                                  !
  429. 4290  ! This prompt occurs only when the receiver data are drawn.        !
  430. 4300  ! Enter Y if you want to draw graphics for the given LO frequency. !
  431. 4310  !                                                                  !
  432. 4320  ! DO YOU WANT TO CHANGE DIMENSIONS [Y/N]?
  433. 4330  !                                                                  !
  434. 4340  ! When you have measured a receiver in more than one LO frequency  !
  435. 4350  ! this prompt occurs.                                              !
  436. 4360  ! If you enter Y you may change the dimensions of the graphics in  !
  437. 4370  ! the way given bellow.                                            !
  438. 4380  ! The next prompts appear for amplifiers and mixers as well.       !
  439. 4390  !                                                                  !
  440. 4400  ! Noise [F]igure or Noise [T]emperature?
  441. 4410  !                                                                  !
  442. 4420  ! Press CONT or enter F if you want to draw gain and noise figure  !
  443. 4430  ! of the DUT. Enter T to draw gain and noise temperature of the DUT!
  444. 4440  !                                                                  !
  445. 4450  ! Noise Figure:BOTTOM SCALE,TOP SCALE(in dB, Default 0,8)?
  446. 4460  !                                                                  !
  447. 4470  ! Enter the bottom scale value and the top scale value in dB for   !
  448. 4480  ! the data to be plotted.Press CONT if you want scale from 0 to 8dB!
  449. 4490  !                                                                  !
  450. 4500  ! Noise Temperature:BOTTOM SCALE,TOP SCALE(in degrees Kelvin,
  451. 4510  !                                              Default 0,400)?
  452. 4520  !                                                                  !
  453. 4530  ! Enter the bottom scale value and the top scale value in degrees  !
  454. 4540  ! Kelvin for the data to be plotted. Press CONT if you want scale  !
  455. 4550  ! from 0 to 400K.                                                  !
  456. 4560  !                                                                  !
  457. 4570  ! Gain:BOTTOM SCALE,TOP SCALE(in dB, Default 0,40)?
  458. 4580  !                                                                  !
  459. 4590  ! Enter the bottom scale value and the top scale value in dB for   !
  460. 4600  ! the data to be plotted.Press CONT if you want scale from 0 to 40.!
  461. 4610  !                                                                  !
  462. 4620  ! DUMP GRAPHICS [Y/N]?
  463. 4630  !                                                                  !
  464. 4640  ! Enter Y to output the plot shown on the CRT to the line printer. !
  465. 4650  ! Press CONT or enter N to skip the hardcopy plot output.          !
  466. 4660  !                                                                  !
  467. 4670  ! LETTER MODE [Y/N]?
  468. 4680  !                                                                  !
  469. 4690  ! Enter Y if you want to write some text in the graphic area. Press!
  470. 4700  ! CONT to ignore this mode.                                        !
  471. 4710  !                                                                  !
  472. 4720  ! DO YOU WANT THE PLOTTER HARD COPY [Y/N]?
  473. 4730  !                                                                  !
  474. 4740  ! Enter Y to output the plot shown on the CRT to the plotter.      !
  475. 4750  !                                                                  !
  476. 4760  !                                                                  !
  477. 4770  !      4. Variable list.                                           !
  478. 4780  !                                                                  !
  479. 4790  ! A$      - input string variable for the mode of the amplifier    !
  480. 4800  !           measurement; A$=(IF,V,LO-,LO+,LO)                      !
  481. 4810  ! Alo     - LO HP-IB address; Alo=19                               !
  482. 4820  ! Anf     - HP8970A HP-IB address; Anf=8                           !
  483. 4830  ! Bg      - input variable; bottom scale for the gain graphic      !
  484. 4840  ! Bn      - input variable; bottom scale for the noise graphic     !
  485. 4850  ! C       - various uses                                           !
  486. 4860  ! Change$ - input string for change of the parameters of measurem. !
  487. 4870  ! D       - various uses                                           !
  488. 4880  ! Date$   - input string containing the date                       !
  489. 4890  ! Dummy   - dummy device address; Dummy=7                          !
  490. 4900  ! E       - output variable; error of the measurement              !
  491. 4910  ! F       - current test frequency                                 !
  492. 4920  ! F1      - input variable; start frequency                        !
  493. 4930  ! F2      - input variable; stop frequency                         !
  494. 4940  ! F3      - input variable; frequency interval                     !
  495. 4950  ! F4      - input variable; LO freq. or IF freq. depending on      !
  496. 4960  !           measurement mode; start LO freq. only for receiver     !
  497. 4970  ! F5      - input variable; smoothing factor                       !
  498. 4980  ! F6      - input variable; stop LO freq. only for receiver        !
  499. 4990  ! F7      - input variable; frequency interval only for receiver   !
  500. 5000  ! Ff      - frequency range (F2-F1)                                !
  501. 5010  ! Fr      - current LO freq. only for receiver                     !
  502. 5020  ! Fr1     - start calibration frequency                            !
  503. 5030  ! Fr2     - stop calibration frequency                             !
  504. 5040  ! Fr3     - frequency calibration interval                         !
  505. 5050  ! Hard    - input variable; hardcopy variable for the data table   !
  506. 5060  !           Hard=0-prints on the CRT; Hard=1-prints on int.printer !
  507. 5070  ! J       - various uses                                           !
  508. 5080  ! Key     - control variable in varying losses measurement mode    !
  509. 5090  ! Kind$   - input variable; type of the DUT; Kind$=(A,M,R)         !
  510. 5100  ! L$      - various uses                                           !
  511. 5110  ! Lc1     - input/output variable;loss comp. before DUT(first pair)!
  512. 5120  ! Lc2     - input/output variable;loss comp. after DUT(first pair) !
  513. 5130  ! Lc3(*)  - input/output array;freq.depending losses (input cable) !
  514. 5140  ! Lc4(*)  - input/output array;freq.depending losses (output cable)!
  515. 5150  ! Lc5     - input/output variable;loss comp.before DUT(second pair)!
  516. 5160  ! Lc6     - input/output variable;loss comp. after DUT(second pair)!
  517. 5170  ! Lo      - input variable for the type of LO;Lo=1-HP8350,2-HP8672 !
  518. 5180  ! Loss$   - input string for the type of the loss compensation     !
  519. 5190  ! N(*)    - two dimensions output array with data of  measurement  !
  520. 5200  ! Ncab    - number of cables used                                  !
  521. 5210  ! Num     - number of test frequencies                             !
  522. 5220  ! Nt      - index for the second dimension of the N(*)             !
  523. 5230  ! Plotad  - HP9872A HP-IB address; Plotad=5                        !
  524. 5240  ! Plotter - type of the plotter;Plotter=13-CRT,9872-HP9872A        !
  525. 5250  ! Plotter$- plotter identifier string expression                   !
  526. 5260  ! Sel     - interface select code; Sel=7                           !
  527. 5270  ! T$      - various use;usually for Y/N responses                  !
  528. 5280  ! Tec     - ambient temperature                                    !
  529. 5290  ! Title$  - string for output messages                             !
  530. 5300  ! T_loss  - loss temperature                                       !
  531. 5310  ! Tg      - top scale for gain graphic                             !
  532. 5320  ! Tn      - top scale for noise graphic                            !
  533.