Download Print this page

Entering Amplitude Correction Data - Agilent Technologies EMC Series Programmer's Manual

Spectrum analyzers 9 khz-1.5/3.0/6.7/13.2/26.5 ghz
Hide thumbs Also See for EMC Series:

Advertisement

Entering Amplitude Correction Data

/************************************************************/
/* Entering Amplitude Correction Data
/*
/* 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 a GPIB session at address 18
/* - Clears the Analyzer
/* - Resets the Analyzer
/*
*RST
/* - Sets the stop frequency to 1.5 GHz
/*
SENS:FREQ:STOP 1.5 GHZ
/* - Set the input port to the 50 MHz amplitude reference
/*
CAL:SOUR:STAT ON
/* - Enter amplitude correction frequency/amplitude pairs:
/*
0 Hz/ 0 dB, 100 MHz/5 dB, 1 GHz/-5 dB, 1.5 GHz/ 10 dB
/*
SENS:CORR:CSET1:DATA 0,0,100E6,5.0,1.0E9,-5.0,...
/* - Activate amplitude correction
/*
SENS:CORR:CSET1:DATA
/*
SENS:CORR:CSET1:ALL:STAT ON
/* - Query the analyzer for the amplitude corection factors */
/*
SENS:CORR:CSET1:DATA?
/* - Store them in an array
/* - Display the array
/* - Close the session
/************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <conio.h>
#include <ctype.h>
#include <string.h>
#include "visa.h"
#define hpESA_IDN_E4401B
#define hpESA_IDN_E4411B
#define hpEMC_IDN_E7401A
Chapter 3
"Hewlett-Packard, E4401B"
"Hewlett-Packard, E4411B"
"Hewlett-Packard, E7401A"
Programming Examples
Entering Amplitude Correction Data
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
145

Advertisement

loading

This manual is also suitable for:

E7404aE7402aE7405aE7401aE7403a