Limit Test; Using Commands To Define Limit Lines - Agilent Technologies E5052A Programmer's Manual

Signal source analyzer
Hide thumbs Also See for E5052A:
Table of Contents

Advertisement

Working with Automatic Test Systems

Limit Test

Limit Test
This section describes how to define the limit lines and determine pass or fail with regard
to the limit test function. For more on the concept of the limit test, refer to the Chapter
describing "Data Analysis and Result Output" in the User's Guide.

Using Commands to define Limit Lines

You can define the limit lines by specifying any limit value to the parameter of SCPI
commands.
The program is described in detail below:
Line 120
Line 170 to 240
Line 260 to 280
Line 310 to 320
Line 330 to 340
Line 360 to 400
Line 420 to 450
Line 460
Line 470
Line 480
Example 6-2
Using Commands to define Limit Lines
110
120
130
140 !
150
160 !
170
180
190
200
210
220
230
240
250 !
260
270
280
290 !
300
310
320
88
Define the data array (variable) for the limit lines.
When bit 4 of the operation status condition register changes from "1"
to "0" (negative transition), bit 4 of the operation status event register
is set to "1".
Set the upper and lower limit values for the limit lines in the array.
Specify the segment number for the upper and lower limit values.
Specify the upper and lower limit values on the trace.
Trigger the instrument.
It repeats to the measurement end.
Display the limit lines.
Display the determination result. (For fail only.)
Activate the limit test function.
DIM Buff$[9]
REAL Udata(1:8),Ldata(1:4)
INTEGER St
ASSIGN @Agte5052 TO 717
OUTPUT @Agte5052;"*ESE 60"
OUTPUT @Agte5052;"*SRE 32"
OUTPUT @Agte5052;":STAT:OPER:PRT 0"
OUTPUT @Agte5052;":STAT:OPER:NTR 16"
OUTPUT @Agte5052;":STAT:OPER:ENAB 16"
OUTPUT @Agte5052;"*CLS"
OUTPUT @Agte5052;"*OPC?"
ENTER @Agte5052;Buff$
READ Udata(*), Ldata(*)
DATA 0,1.4E+9,2.E-5,1.4E+9,2.E-5,1.6E+9,1.E-4,1.6E+9
DATA 0,1.2E+9,1.E-4,1.2E+9
OUTPUT @Agte5052;":DISP:WIND:ACT FP1"
OUTPUT @Agte5052;":CALC:FP:TRAC:LIM:UPP:SEGM:COUN 2"
OUTPUT @Agte5052;":CALC:FP:TRAC:LIM:LOW:SEGM:COUN 1"
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents