EasyManua.ls Logo

Agilent Technologies E7401A

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
Loading...
Chapter 3 135
Programming Examples
Using Limit Lines
Using Limit Lines
/************************************************************/
/* Using Limit Lines */
/* */
/* 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. */
/* */
/* */
/* - Open a GPIB session at address 18. */
/* - Clear the analyzer. */
/* *CLR */
/* - Reset the analyzer. */
/* *RST */
/* - Set Y-Axis Units to dBm */
/* UNIT:POW DBM */
/* - Define the upper limit line to have frequency/ */
/* amplitude pairs. */
/* CALC:LLINE1:CONT:DOM FREQ */
/* CALC:LLINE1:TYPE UPP */
/* CALC:LLINE1:DISP ON */
/* CALC:LLINE1:DATA freq1,amp1,1,freq2,amp2,1... */
/* - Define the lower limit line to have frequency/amplitude*/
/* pairs. */
/* CALC:LLINE2:CONT:DOM FREQ */
/* CALC:LLINE2:TYPE LOW */
/* CALC:LLINE2:DISP ON */
/* CALC:LLINE2:DATA freq1,amp1,1,freq2,amp2,1... */
/* - Turn the limit line test function on. */
/* CALC:LLINE2:STAT ON */
/* - Set the analyzer to a center frequency of 50 MHz, span */
/* to 20 MHz, and resolution bandwidth to 1 MHz. */
/* SENS:FREQ:SPAN 20 MHZ */
/* SENS:FREQ:CENT 50 MHZ */
/* SENS:BWID:RES 1 MHZ */
/* - Turn the limit line test function on. */
/* - Set the analyzer reference level to 0 dBm. */
/* DISP:WIND:TRAC:Y:SCAL:RLEV 0 */
/* - Set the input port to the 50 MHz amplitude reference. */
/* CAL:SOUR:STAT ON */

Table of Contents

Other manuals for Agilent Technologies E7401A

Related product manuals