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 #468 background imageLoading...
Page #468 background image
Chapter 7 7-105
Programming Examples
Report Generation Examples
The program loops until the SRQ bit is set.
The status byte is read with a serial poll.
The program tests for bit 6, SRQ.
If SRQ is detected, the program tests for pass control (bit 5 of the status byte).
If the analyzer requests control, the system controller gives the analyzer control of the
bus.
The program loops and waits for the analyzer to complete the print dump.
The analyzer reads the interface.
If bit 6 is active in the controller, control is returned from the analyzer to the controller.
The status-byte assignments are cleared.
The analyzer returns to continuous-sweep mode.
The analyzer is returned to local control and the program ends.
Running the Program
The analyzer will briefly flash the message WAITING FOR CONTROL, before actually
receiving control and generating the printer output. The computer will display the
Printing from analyzer and waiting for control message.
When the printer output is complete, the analyzer passes control back to the address
stored as the controller address under the menu. The
computer will detect the return of active control and exit the wait loop. The controller will
display the message Control returned from analyzer and then release the analyzer
from remote control.
NOTE Because the program waits for the analyzer's request for control, it can be
used to respond to front-panel requests as well. Remove the “PRINALL;”
command from the program and run the program. Nothing will happen until
the operator requests a print, plot, or disk access from the front panel of the
analyzer. For example, press and .
BASIC Program Listing
10 ! This example shows a pass-control operation to print the display
20 ! under the analyzer HP-IB control. The controller reads the status
30 ! of the analyzer looking for SRQ to indicate that the analyzer is
40 ! requesting control. Once control is passed to the analyzer, the
50 ! controller monitors the status of its interface registers to detect
60 ! when the interface is again the active controller. The analyzer will
70 ! pass control back to the controller when finished.
80 !
90 ! EXAMP7B
100 !
110 ASSIGN @Nwa TO 716 ! Assign an I/O path for the analyzer
120 !
130 CLEAR SCREEN
140 ! Initialize the analyzer without preset to preserve data
Local
SET ADDRESSES
Local Copy
PRINT MONOCHROME

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