Reading Limit Lines From Files - Agilent Technologies E5052A Programmer's Manual

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

Advertisement

330
340
350 !
360
370
380
390
400
410 !
420
430
440
450
460
470
480
490
500
510 Prog_end:

Reading Limit Lines from Files

You can create any upper and lower value for limit lines in the specified format in advance,
and read the file later to specify the limit lines.
For information about creating upper and lower values for limit lines, refer to the chapter
describing "Data analysis and Result Output" in the User's Guide.
The file must be saved in the CSV format (with the extension *.csv).
The program is described in detail below:
NOTE
Save the upper limit values together into one file, and the lower limit values into another.
Line 110
Line 190 to 260
Line 290
Line 300
Line 320 to 360
Line 380 to 410
Line 430
Line 440
Line 450
Example 6-3
Reading Limit Lines from File
110
120
130 !
6
OUTPUT @Agte5052;":CALC:FP:TRAC:LIM:UPP:SEGM:DATA ";Udata(*)
OUTPUT @Agte5052;":CALC:FP:TRAC:LIM:LOW:SEGM:DATA ";Ldata(*)
OUTPUT @Agte5052;":TRIG:MODE FP1"
OUTPUT @Agte5052;":TRIG:FP:SOUR BUS"
OUTPUT @Agte5052;":INIT:FP:CONT OFF"
OUTPUT @Agte5052;":INIT:FP:IMM"
OUTPUT @Agte5052;"*TRG"
REPEAT
OUTPUT @Agte5052;":STAT:OPER:COND?"
ENTER @Agte5052;St
UNTIL BIT(St,4)=0
OUTPUT @Agte5052;"DISP:FP:TRAC:LIM:LINE ON"
OUTPUT @Agte5052;"DISP:FP:LIM:FSIG ON"
OUTPUT @Agte5052;"CALC:FP:TRAC:LIM:STAT ON"
PRINT "End"
ASSIGN @Agte5052 TO *
END
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".
Read the upper limit value for the limit lines from file.
Read the lower limit value for the limit lines from file.
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 Ufile$[20],Lfile$[20],Buff$[9]
INTEGER St
Working with Automatic Test Systems
Limit Test
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents