Chapter 7
7-35
Programming Examples
Measurement Calibration Examples
570 ENTER @Nwa;Reply ! Read in the 1 returned
580 OUTPUT @Nwa;”DONE;” ! Finished with class standards
590 !
600 ! S11 short CAL
610 CALL Waitforkey(“CONNECT SHORT AT PORT 1”)
620 IF Kit=2 THEN
630 OUTPUT @Nwa;”CLASS11B;”
640 OUTPUT @Nwa;”OPC?;STANB;” ! Select the second standard, B
650 ELSE
660 OUTPUT @Nwa;”OPC?;CLASS11B;” ! Only one standard in class
670 END IF
680 ENTER @Nwa;Reply ! Read in the 1 returned
690 OUTPUT @Nwa;”DONE;” ! Finished with class standards
700 !
710 ! S11 load CAL
720 CALL Waitforkey(“CONNECT LOAD AT PORT 1”)
730 IF Kit=3 OR Kit=4 THEN
740 OUTPUT @Nwa;”CLASS11C;”
750 OUTPUT @Nwa;”OPC?;STANA;” ! Select the first standard, A
760 ELSE
770 OUTPUT @Nwa;”OPC?;CLASS11C;” ! Only one standard in class
780 END IF
790 ENTER @Nwa;Reply ! Read in the 1 returned
800 OUTPUT @Nwa;”DONE;” ! Finished with class standards
810 !
820 ! S22 open CAL
830 CALL Waitforkey(“CONNECT OPEN AT PORT 2”)
840 IF Kit=2 THEN
850 OUTPUT @Nwa;”CLASS22A;”
860 OUTPUT @Nwa;”OPC?;STANA;” ! Select the second standard, B
870 ELSE
880 OUTPUT @Nwa;”OPC?;CLASS22A;” ! Only one standard in class
890 END IF
900 ENTER @Nwa;Reply ! Read in the 1 returned
910 OUTPUT @Nwa;”DONE;” ! Finished with class standards
920 !
930 ! S22 short CAL
940 CALL Waitforkey(“CONNECT SHORT AT PORT 2”)
950 IF Kit=2 THEN
960 OUTPUT @Nwa;”CLASS22B;”
970 OUTPUT @Nwa;”OPC?;STANA;” ! Select the second standard, B
980 ELSE
990 OUTPUT @Nwa;”OPC?;CLASS22B;” ! Only one standard in class
1000 END IF
1010 ENTER @Nwa;Reply ! Read in the 1 returned
1020 OUTPUT @Nwa;”DONE;” ! Finished with class standards
1030 !
1040 ! S22 load CAL
1050 CALL Waitforkey(“CONNECT LOAD AT PORT 2”)
1060 IF Kit=3 OR Kit=4 THEN
1070 OUTPUT @Nwa;”CLASS22C;”
1080 OUTPUT @Nwa;”OPC?;STANA;” ! Select the first standard, A
1090 ELSE
1100 OUTPUT @Nwa;”OPC?;CLASS22C;” ! Only one standard in class
1110 END IF
1120 ENTER @Nwa;Reply ! Read in the 1 returned
1130 OUTPUT @Nwa;”DONE;” ! Finished with class standards
1140 !
Summary of Contents for 8719ES
Page 15: ...1 1 1 Alphabetical Command Reference ...
Page 293: ...2 1 2 Introduction to Instrument Control ...
Page 310: ...3 1 3 GPIB Programming ...
Page 334: ...4 1 4 Reading Analyzer Data ...
Page 343: ...5 1 5 Data Processing Chain ...
Page 350: ...6 1 6 Error Reporting ...
Page 364: ...7 1 7 Programming Examples ...
Page 502: ...A 1 A Preset Conditions ...
Page 517: ...B 1 B Command Listings ...