EasyManuals Logo

Agilent Technologies E7401A Programmer's Guide

Agilent Technologies E7401A
349 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 #169 background imageLoading...
Page #169 background image
Chapter 3 169
Programming Examples
Measuring Harmonic Distortion (RS-232)
Measuring Harmonic Distortion (RS-232)
/************************************************************/
/* Measuring Harmonic Distortion (RS-232) */
/* */
/* This example is for the E44xxB ESA Spectrum Analyzers */
/* and E740xA EMC Analyzers. */
/* */
/* This C programming example does the following. */
/* The SCPI instrument commands used are given as */
/* reference. */
/* */
/* - Opens an RS-232 session to the COM1 serial port */
/* - Clears the Analyzer */
/* *CLS */
/* - Resets the Analyzer */
/* *RST */
/* - Set the input port to the 50 MHz reference */
/* CAL:SOUR:STAT ON */
/* - Set the analyzer center frequency to the fundamental */
/* SENS:FREQ:CENT freq */
/* - Set the analyzer to 10 MHz span */
/* SENS:FREQ:SPAN 10 MHZ */
/* - Set the analyzer to single sweep mode */
/* INIT:CONT 0 */
/* - Trigger a sweep and wait for sweep completion */
/* INIT:IMM;*WAI */
/* - Perform the peak search */
/* CALC:MARK:MAX */
/* - Set the marker to reference level */
/* CALC:MARK:SET:RLEV */
/* - Trigger a sweep and wait for sweep completion */
/* INIT:IMM;*WAI */
/* - Perform the peak search */
/* CALC:MARK:MAX */
/* - Change VISA timeout to 60 seconds */
/* - Activate signal track */
/* CALC:MARK:TRCK:STAT ON */
/* - Perform narrow span and wait */
/* SENS:FREQ:SPAN 10e4 */
/* - Check for operation complete */
/* *OPC? */
/* - De-activate signal track */
/* CALC:MARK:TRCK:STAT OFF */

Table of Contents

Other manuals for Agilent Technologies E7401A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies E7401A and is the answer not in the manual?

Agilent Technologies E7401A Specifications

General IconGeneral
BrandAgilent Technologies
ModelE7401A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals