Writing Programs; Controlling The Analyzer - Agilent Technologies 4396B Gpib Programming Manual

Network/spectrum/impedance analyzer
Hide thumbs Also See for 4396B:
Table of Contents

Advertisement

Writing Programs

Controlling the Analyzer

Instrument BASIC can control the analyzer (itself) through the \internal" GPIB bus. This means
that an analyzer with Instrument BASIC includes both a controller and an analyzer in the same
instrument. They are connected through an internal GPIB bus.
The select code of the internal GPIB interface is 8, and the GPIB address of the
Note
analyzer can be any number from 0 to 30. In this manual, we use \800" for the
device selector of the analyzer.
For more information on GPIB addresses and device selectors, see \Device
Selectors" in the
BASIC Users Handbook
Chapter 9.
You can write the program by using the keyboard or by pressing keys and softkeys from the
front panel procedure without using the external keyboard. Using the keyboard is very useful
when you write a larger and more complex program, or type comments in a program. For
detailed information on how to use the keyboard, see Appendix C.
Let's Try
The following example program selects the following measurement settings:
Active Channel Block
Measurement Block
Sweep Block
1. Turn the analyzer ON.
2. Press the following key and softkeys to display the network analyzer mode softkeys:
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNN
Meas
4
5
3. Press the following key and softkeys from the front panel:
NNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNN
System
4
5
The system enters the EDIT mode. The cursor appears at line number 10, which is the
default line number of the rst program line, as follows:
d
4. Press the following softkey:
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
3-2 Writing and Running Programs
Instrument BASIC Interfacing Techniques
and \Available I/O Interfaces and Select Codes" in
Channel 1 (default)
Network Analyzer
A/R
LOG MAG format (default)
Display scale to AUTO
Center frequency: 70 MHz
Span frequency: 100 kHz
of the
Instrument
a

Advertisement

Table of Contents
loading

Table of Contents