Agilent Technologies ESA-E Series Programmer's Manual page 148

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

Advertisement

Programming Examples
Making Faster Measurements (multiple measurements )
/* -
Sets the analyzer resolution bandwidth
* /
/*
SENS :BAND rbw
* /
/* -
Selects sampled as the detector mode
* /
/*
SENS :DET SAMP
* /
1* -
Disable optional Output functions
* /
/*
:SYST :PORT :IFVS :ENAB OFF
* /
/* -
Turn off auto-alignment
* /
/*
CAL :AUTO OFF
* /
/* -
Select the desired number of sweep points
* /
/*
SWE :POINTS points
* /
/* -
Connect the input port to the 50 MHz amptd reference
* /
/*
E4402B, E4403B, E4404B, E4405B, E4407B or E4408B
* /
/* -
Activate the 50 MHz amplitude reference signal
* /
/*
CAL :SOUR STAT ON
* /
/* -
Select the appropriate display reference level
* /
/*
E4402, E4403B, E4404B, E4405B, E4407B or E4408B
* /
I*
DISP :WIND :TRAC :Y :RLEV -20 DBM
* /
/*
E4411B or E4401B
* /
/*
DISP :WIND :TRAC :Y :RLEV -25 DBM
* /
/* -
Select single sweep mode
* /
/*
INIT :CONT OFF
* /
/* -
Disable local display
* /
/*
DISP :ENAB OFF
* /
/* -
Select internal machine binary data format (milli-dBm) * /
/*
FORM:DAT INT,32
* /
/* -
Select appropriate byte order (Intel)
* /
/*
FORM:BORD SWAP
* /
/* -
Repeat the following the requested number of times :
* /
/* -
Trigger a measurement and wait for completion
* /
/*
INIT :*OPC?
* /
/* -
Read the resulting
measurement
trace
* /
/*
TRAC :DATA? TRACE1
* /
/* -
Compute running averaged power at all trace points
* /
/* -
Display measurement statistics
* /
/* -
Write averaged data to second trace display
* /
/*
TRAC :DATA TRACE2 <definite length block of data>
* /
/* -
Enable viewing of second trace
* /
/*
TRACE2 :MODE VIEW
* /
/* -
Enable local display for viewing
* /
/*
DISP :ENAB ON
* /
/* -
Select continuous sweep mode
* /
/*
INIT :CONT ON
* /
1* -
Close session and Return instrument to local control
* /
/************************************************************/

Advertisement

Table of Contents
loading

Table of Contents