34
Chapter 3
Setting Up Measurement Conditions and Display
Sample Program
360
OUTPUT @Agt4288a;":SOUR:FREQ ";Freq
370
OUTPUT @Agt4288a;":SOUR:VOLT ";Level
380
IF Range$="AUTO" THEN
390
OUTPUT @Agt4288a;":RANG:AUTO ON"
400
ELSE
410
OUTPUT @Agt4288a;":RANG:AUTO OFF"
420
OUTPUT @Agt4288a;":RANG "&Range$
430
END IF
440
OUTPUT @Agt4288a;":APER "&Meas_time$
450
OUTPUT @Agt4288a;":CAL:CABL ";Cable
460
OUTPUT @Agt4288a;":AVER ON"
470
OUTPUT @Agt4288a;":AVER:COUN ";Ave
480
OUTPUT @Agt4288a;":TRIG:DEL ";Delay
490
!
500
OUTPUT @Agt4288a;":DISP "&Disp$
510
OUTPUT @Agt4288a;":DISP:TEXT1:DIG ";Digit
520
IF Fix_msd$="OFF" THEN
530
OUTPUT @Agt4288a;":DISP:TEXT1:FMSD OFF"
540
ELSE
550
OUTPUT @Agt4288a;":DISP:TEXT1:FMSD ON"
560
OUTPUT @Agt4288a;":DISP:TEXT1:FMSD:DATA "&Fix_msd$
570
END IF
580
IF Dev_mode_pri$="OFF" THEN
590
OUTPUT @Agt4288a;":CALC1:MATH:STAT OFF"
600
ELSE
610
OUTPUT @Agt4288a;":CALC1:MATH:STAT ON"
620
OUTPUT @Agt4288a;":CALC1:MATH:EXPR:NAME "&Dev_mode_pri$
630
OUTPUT @Agt4288a;":DATA REF1,";Dev_ref_pri
640
END IF
650
IF Dev_mode_sec$="OFF" THEN
660
OUTPUT @Agt4288a;":CALC2:MATH:STAT OFF"
670
ELSE
680
OUTPUT @Agt4288a;":CALC2:MATH:STAT ON"
690
OUTPUT @Agt4288a;":CALC2:MATH:EXPR:NAME "&Dev_mode_sec$
700
OUTPUT @Agt4288a;":DATA REF2,";Dev_ref_sec
710
END IF
720
OUTPUT @Agt4288a;":DISP:TEXT2:PAGE ";Page_no
730
!
740
OUTPUT @Agt4288a;":CALC3:MATH:STAT "&I_mon$
750
OUTPUT @Agt4288a;":CALC4:MATH:STAT "&V_mon$
760
IF Beep_mode$="OFF" THEN
770
OUTPUT @Agt4288a;":CALC:COMP:BEEP OFF"
780
ELSE
790
OUTPUT @Agt4288a;":CALC:COMP:BEEP ON"
800
OUTPUT @Agt4288a;":CALC:COMP:BEEP:COND "&Beep_mode$
810
END IF
820
!
830
OUTPUT @Agt4288a;"*SAV ";Save_no
840
!
850
END
Summary of Contents for 4288A
Page 18: ...16 Chapter1 Making Effective Use of This Manual How To Use This Manual ...
Page 212: ...210 AppendixA Manual Changes Manual Changes ...
Page 248: ...246 AppendixB Information for Replacing 4278A with 4288A Comparison of Interfaces ...
Page 258: ...256 AppendixC Status Reporting System Using the Status Reporting System ...
Page 288: ...286 Index Index ...