Application Programs; Controlling The Analyzer Using Instrument Basic - Agilent Technologies 4396B Gpib Programming Manual

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

Advertisement

Application Programs

This chapter describes Instrument BASIC programming using examples. The examples
correspond to actual measurement situations. These Instrument BASIC examples will supply
useful information for developing the analyzer's Instrument BASIC application programs. The
topics covered in this chapter are:

Controlling the analyzer using Instrument BASIC

I/O operation from Instrument BASIC
Using Instrument BASIC with an external controller
Sharing one printer between two controllers
Loading Instrument BASIC programs using softkeys
Controlling the Analyzer Using Instrument BASIC
Instrument BASIC allows you to easily control the analyzer. This chapter describes the basic
techniques for using Instrument BASIC to control the analyzer.
Two quotes, in succession, will embed a quote within a string when a quotation
Note
mark needs to be in a string.
For example:
or
Sends string,
The analyzer and the Instrument BASIC in the analyzer should be regarded as two separate
instruments interfaced by an internal GPIB bus. So, to distinguish between the internal and
external GPIB interfaces, use select code \8" for the internal GPIB interface (the external
select code is \7"). For more information on GPIB commands, see
and the
GPIB Programming Guide.
interface from Instrument BASIC to the analyzer.
d
c
This program sends the GPIB command by using the GPIB
Figure 6-1. Sending GPIB Command
, to the analyzer. (
GPIB Command Reference
Application Programs 6-1
6
displays a title.)
a
b

Advertisement

Table of Contents
loading

Table of Contents