EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>8720E Series

Agilent Technologies 8720E Series Programmer's Guide

Agilent Technologies 8720E Series
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 #389 background imageLoading...
Page #389 background image
7-26 Chapter7
Programming Examples
Measurement Calibration Examples
430 !
440 OUTPUT @Nwa;”MENUOFF;” ! Turn softkey menu off.
450 !
460 OUTPUT @Nwa;”CALIRESP;” ! Response CAL initiated
470 !
480 CALL Waitforkey(“CONNECT THRU BETWEEN PORTS”)
490 IF Kit=2 THEN
500 OUTPUT @Nwa;”OPC?;STANE;” ! Select the fifth standard, E
510 ELSE
520 OUTPUT @Nwa;”OPC?;STANC;” ! Select the third standard, C
530 END IF
540 ENTER @Nwa;Reply ! Read in the 1 returned
550 !
560 DISP “COMPUTING CALIBRATION COEFFICIENTS”
570 !
580 OUTPUT @Nwa;”OPC?;RESPDONE;” ! Finished with the CAL cycle
590 ENTER @Nwa;Reply ! Read in the 1 returned
600 !
610 DISP “RESPONSE CAL COMPLETED. CONNECT TEST DEVICE.”
620 OUTPUT @Nwa;”MENUON;” ! Turn on the softkey menu
630 !
640 OUTPUT @Nwa;”OPC?;WAIT;” ! Wait for the analyzer to finish
650 ENTER @Nwa;Reply ! Read the 1 when complete
660 LOCAL @Nwa ! Release HP-IB control
670 !
680 END
690 !
700 ! **************************** Subroutines ******************************
710 !
720 Waitforkey: ! Prompt routine to read a keypress on the controller
730 SUB Waitforkey(Lab$)
740 ! Position and display text on the analyzer display
750 OUTPUT 717;”PG;PU;PA390,3700;PD;LB”;Lab$;”, PRESS ENTER WHEN READY;”&CHR$(3)
760 !
770 DISP Lab$&” Press ENTER when ready”;! Display prompt on console
780 INPUT A$ ! Read ENTER key press
790 !
800 OUTPUT 717;”PG;” ! Clear analyzer display
810 SUBEND
Example 2B: 1-Port Calibration
The following is an outline of the program's processing sequence:
An I/O path is assigned for the analyzer.
The system is initialized.
The appropriate calibration kit is selected.
The softkey menu is deactivated.
The 1-port calibration sequence is run.
The 1-port calibration data is saved.
The softkey menu is activated.
The analyzer is released from remote control and the program ends.

Table of Contents

Other manuals for Agilent Technologies 8720E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 8720E Series and is the answer not in the manual?

Agilent Technologies 8720E Series Specifications

General IconGeneral
BrandAgilent Technologies
Model8720E Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals