Download Print this page

Performing Internal Self-Alignment - 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

Programming Examples

Performing Internal Self-alignment

Performing Internal Self-alignment
/************************************************************/
/* Performing Internal Self-alignment
/*
/* This example is for the E44xxB ESA Spectrum Analyzers
/* and E740xA EMC Analyzers.
/*
/* This example shows two ways of executing an internal
/* self-alignment. The first demonstrates using the *OPC?
/* query to determine when the alignment has completed. The */
/* second demonstrates using the query form of the CAL:ALL
/* command to not only determine when the alignment has
/* been completed, but the pass/fail status of the align-
/* ment process.
/*
/* This C programming example does the following.
/* The SCPI instrument commands used
/* reference.
/*
/* - Opens a GPIB session at address 18
/* - Clears the Analyzer
/*
*CLS
/* - Resets the Analyzer
/*
*RST
/* - VISA function sets the time out to infinite
/* - Initiate self-alignment
/*
CAL:ALL
/* - Query for operation complete
/*
*OPC?
/* - Query for results of self-alignment
/*
CAL:ALL?
/* - Report the results of the self-alignment
/* - Close the session
/************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include "visa.h"
#define hpESA_IDN_E4401B
112
are given as
"Hewlett-Packard, E4401B"
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
Chapter 3

Advertisement

loading

This manual is also suitable for:

E7404aE7402aE7405aE7401aE7403a