Example Programs - Agilent Technologies 35670A Manual

Dynamic signal analyzer gpib programming
Hide thumbs Also See for 35670A:
Table of Contents

Advertisement

Example Programs

These listings of example programs written for the Agilent 35670A demonstrate many important
programming concepts, specifically, transferring data.
The programs are written in BASIC for use on an HP Series 300 computer, on a PC with Instrument
BASIC for Windows, or on the Agilent 35670A with Instrument BASIC (Option 1C2). They contain
numerous comments to make them easily adaptable to other languages or programs. The example
programs are on the Agilent 35670A GPIB Example Programs disk.
The listings, which are organized alphabetically by name, are as follows:
ARBSRC
Loads one of the Agilent 35670A's data registers with data generated on a computer. You can view the results
if you connect the Agilent 35670A's arbitrary source (Option 1D4) to Channel 1.
COPYDATA
Copies measurement data to a data register.
FREQRESP
Sets up a frequency response measurement, runs the measurement and then transfers the data.
GETASCII
Reads trace data values in ASCII and displays the first ten values on the display.
GETBIN
Queries power spectrum data from Channel 1 in binary and displays the first ten values on the display.
GETCAP
Reads time-capture data from the analyzer, modifies the data, and writes the data back to the analyzer
GETCURF
Queries curve fit data and transfers it to an external controller.
GETWATR
Sets up and runs an octave measurement in a waterfall display. Transfers the frequency and amplitude values.
F
F-1

Advertisement

Table of Contents
loading

Table of Contents