EasyManuals Logo

Agilent Technologies 8562EC User Manual

Agilent Technologies 8562EC
716 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 #338 background imageLoading...
Page #338 background image
338 Chapter5
Programming
Monitoring System Operation
EXAMPLE 4
10 OUTPUT 718;"IP;SNGLS;CF 300MHZ;SP 20MHZ;TS;"
20 OUTPUT 718;"RQS 16;"
30 ON INTR 7 GOSUB Srq
40 ENABLE INTR 7;2
50 Done=0
60 OUTPUT 718;"SRQ 16;"
70 Idle: IF Done=0 GOTO Idle
80 STOP
90 Srq: Sbyte=SPOLL(718)
100 PRINT Sbyte
110 PRINT "INTERRUPT GENERATED"
120 OUTPUT 718;"RQS 0;"
130 Done=1
140 RETURN
150 END
Here, on Line 50, a "command complete" service request is immediately
generated, and you can be sure that the routine will work.
Summary
The main points to using service requests are highlighted below.
1. Choose the conditions for generating service requests.
2. Set a bit mask that enables only these chosen conditions.
3. Prepare the computer to accept service requests. Use the ON
INTR…GOSUB and ENABLE INTR statements.
4. Once an interrupt is triggered, use the analyzer STB command or
the SPOLL statement to read the interrupt.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 8562EC Specifications

General IconGeneral
BrandAgilent Technologies
Model8562EC
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals