Measuring Noise - Agilent Technologies ESA-E Series Programmer's Manual

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

Advertisement

Programming Examples
Measuring Noise
Measuring Noise
/************************************************************ /
/*
Measuring Noise
/*
/* This C programming example does the following .
/* The SCPI instrument commands used are given a s
/* reference .
/ *
/* - Opens an HP-IB session at address 1 8
/* - Clears the Analyze r
/* - Resets the Analyze r
/*
*RS T
/* - Sets the center frequency and spa n
/*
SENS :FREQ :CENT 50 MH Z
/*
SENS :FREQ :SPAN 10 MH Z
/* - Set the input port to the 50 MHz amplitude referenc e
/*
CAL :SOUR :STAT ON
/* - Set the analyzer to single sweep mode
/*
INIT:CONT 0
/* - Triaaer a sweep
/*
INIT:IMM
/* - Check for operation complet e
/*
*OPC ?
/* - Set the marker to the maximum peak
/*
CALC :MARK :MAX
/* - Set the analyzer to active delta marke r
/*
CALC :MARK :MODE DELT
/* - Set the delta marker to 2 MH Z
/*
CALC :MARK :X 2E+6
/* -
Activate the noise marker function
/*
CALC :MARK :FUNC NOI S
/* - Trigger a sweep
/*
INIT :IMM
/* - Check for operation complet e
/*
*OPC?
/* - Query the marker delta amplitude from the analyze r
/*
CALC :MARK :Y?
/* - Report the marker delta amplitude as the carrier t o
/* noise ratio in dBc/Hz
/* - Close the sessio n
/************************************************************ /
#include <stdio .h>
*/
*/
*/
*/
*/
* /
*/
*/
*/
Chapter 3
3-49

Advertisement

Table of Contents
loading

Table of Contents