EasyManuals Logo

Agilent Technologies 8719ET Programmer's Guide

Agilent Technologies 8719ET
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #460 background imageLoading...
Page #460 background image
Chapter 7 7-97
Programming Examples
List-Frequency and Limit-Test Table Examples
The number of limits is requested.
The limit table is created.
The string array of limit types is created.
The operator is prompted to enter the new limit values.
The new limit table is sent back to the analyzer.
The limit line is activated.
The limit test is activated.
The analyzer is returned to local control and the program ends.
Running the Program
CAUTION This example program will delete any existing limit lines before entering the
new limits. If this is not desired, omit the line(s) that clear the existing limits
(in this case, the command “CLEL;” contained in LINE 190). This program
begins by presetting the analyzer. The programmer will have to add the
necessary command lines to set the analyzer to the operating conditions
required for testing. The example program will show the limit lines defined,
but the limits will always fail without additional analyzer setup.
The program displays the limit table as it is entered. During editing, the displayed table is
updated as each line is edited. The table is not reordered. At the completion of editing, the
table is entered into the analyzer, and limit-testing mode switched ON. The analyzer will
rearrange the table in ascending order starting with the lowest start frequency entry.
During editing, simply pressing leaves an entry at the old value.
BASIC Program Listing
10 ! This program shows how to create a limit table and send it to the
20 ! analyzer. The operator enters the desired limits when prompted for
30 ! the stimulus value, upper and lower value and type of limit
40 ! desired. Once the table is created, the limits are sent to the
50 ! analyzer and activated.
60 !
70 ! EXAMP6D
80 !
90 ASSIGN @Nwa TO 716 ! Assign an I/O path for the analyzer
100 !
110 CLEAR SCREEN
120 ! Initialize the analyzer
130 ABORT 7 ! Generate an IFC (Interface clear)
140 CLEAR @Nwa ! SDC (Selected Device Clear)
150 OUTPUT @Nwa;”OPC?;PRES;” ! Preset the analyzer and wait
160 ENTER @Nwa;Reply ! Read the 1 when completed
170 !
180 OUTPUT @Nwa;”EDITLIML;” ! Edit limit lines
190 OUTPUT @Nwa;”CLEL;” ! Clear any existing limits
200 INPUT “NUMBER OF LIMITS?”,Numb ! Request the number of limits
210 ALLOCATE Table(1:Numb,1:3) ! Create a table
220 ALLOCATE Limtype$(Numb)[2] ! Create string array of limit types
Enter

Table of Contents

Other manuals for Agilent Technologies 8719ET

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 8719ET and is the answer not in the manual?

Agilent Technologies 8719ET Specifications

General IconGeneral
BrandAgilent Technologies
Model8719ET
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals