Making Faster Measurements (Multiple Measurements) - Agilent Technologies ESA-E Series Programmer's Manual

Esa spectrum analyzers
Hide thumbs Also See for ESA-E Series:
Table of Contents

Advertisement

Making Faster Measurements (multiple
measurements)
/************************************************************/

/* Making Faster Measurements (multiple measurements)

/*
/* This C programming example does the following:
/* Performs Power Averaging of Multiple ESA Measurements
/* and Writes the Result back to a Trace for display
/*
/* This program demonstrates a quick way to obtain
/* trace data from the analyzer. The ESA display
/* and the IF, Video, and Sweep ports are disabled to
/* improve trace data throughput. It also performs
/* computations on the trace data (a power average in this
/* case) and returns the result to the analyzer for display.*/
/*
/* The example below uses the VISA library functions. The
/* speed will in most cases improve if written to use the
/* National Instruments IEEE-488.2 library functions
/* instead of the VISA library functions.
/*
/* This program uses the following commands found in ESA
/* firmware revisions A.04.00 and later:
/*
:SYST:PRES:TYPE FACT (sets ESA to factory preset)
/*
:SYST:PORT:IFVS:ENAB OFF (improves speed)
/*
:SWE:POINTS (sets number of sweep points, fewer
/*
points improve speed)
/* The above commands may be omitted in ESAs with firmware
/* revisions prior to A.04.00, but the speed may be
/* degraded slightly.
/*
/* The associated SCPI instrument commands are given as
/* reference.
/*
/* - Opens a GPIB device at address 18
/* - Clears and Resets the Analyzer to a known state
/*
SYST:PRES:TYPE FACT
/*
*RST
/* - Identify the Instrument model
/*
*IDN?
/* - Sets the analyzer center frequency and span
/*
SENS:FREQ:CENT freq
/*
SENS:FREQ:SPAN freq
Chapter 3

Making Faster Measurements (multiple measurements)

*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
Programming Examples
3-87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents