90
6
Working with Automatic Test Systems
Limit Test
140 Ufile$="f:\temP\upper.csv"
150 Lfile$="f:\temP\lower.csv"
160 !
170 ASSIGN @Agte5052 TO 717
180 !
190 OUTPUT @Agte5052;"*ESE 60"
200 OUTPUT @Agte5052;"*SRE 32"
210 OUTPUT @Agte5052;":STAT:OPER:PRT 0"
220 OUTPUT @Agte5052;":STAT:OPER:NTR 16"
230 OUTPUT @Agte5052;":STAT:OPER:ENAB 16"
240 OUTPUT @Agte5052;"*CLS"
250 OUTPUT @Agte5052;"*OPC?"
260 ENTER @Agte5052;Buff$
270 !
280 OUTPUT @Agte5052;":DISP:WIND:ACT FP1"
290 OUTPUT @Agte5052;":MMEM:FP:TRAC:LOAD:LIM:UPP """&Ufile$&""""
300 OUTPUT @Agte5052;":MMEM:FP:TRAC:LOAD:LIM:LOW """&Lfile$&""""
310 !
320 OUTPUT @Agte5052;":TRIG:MODE FP1"
330 OUTPUT @Agte5052;":TRIG:FP:SOUR BUS"
340 OUTPUT @Agte5052;":INIT:FP:CONT OFF"
350 OUTPUT @Agte5052;":INIT:FP:IMM"
360 OUTPUT @Agte5052;"*TRG"
370 !
380 REPEAT
390 OUTPUT @Agte5052;":STAT:OPER:COND?"
400 ENTER @Agte5052;St
410 UNTIL BIT(St,4)=0
420 !
430 OUTPUT @Agte5052;"DISP:FP:TRAC:LIM:LINE ON"
440 OUTPUT @Agte5052;"DISP:FP:LIM:FSIG ON"
450 OUTPUT @Agte5052;"CALC:FP:TRAC:LIM:STAT ON"
460 PRINT "End"
470 ASSIGN @Agte5052 TO *
480 Prog_end: END
Summary of Contents for E5052A
Page 4: ...4 ...
Page 28: ...28 1 Making Effective Use of This Manual How to Use This Manual ...
Page 51: ...3 51 Making a Measurement Trigger System 3 Making a Measurement Figure 3 1 Trigger system ...
Page 58: ...58 3 Making a Measurement Waiting for End of measurement ...
Page 76: ...76 4 Reading Writing Measurement Data Entering Data in a Trace ...
Page 82: ...82 Chapter5 Saving and Recalling File Management Managing Files ...