Personal tools
You are here: Home Device classes Abstract classes Spectrum Analyzer

Spectrum Analyzer

Abstract class to manage Spectrum Analyzer devices



Download the compressed archive: AbstractSpAnalyzer.tar.gz



Commands


Device Commands for Operator Level
Command name Argument In Argument Out
Init DEV_VOID DEV_VOID
State DEV_VOID DEV_STATE
Status DEV_VOID CONST_DEV_STRING
Reset DEV_VOID DEV_VOID
ClearStatus DEV_VOID DEV_VOID
Remote DEV_VOID DEV_VOID
Local DEV_VOID DEV_VOID
GetPeak DEV_VOID DEV_VOID
SetSingleSweep DEV_VOID DEV_VOID
ChangePowUnits DEV_STRING DEV_VOID
GetErrorInfo DEV_VOID DEV_STRING
GetMin DEV_VOID DEV_VOID
SetContinuousSweep DEV_VOID DEV_VOID
RestartMeasurement DEV_VOID DEV_VOID
SetAutoAttenuation DEV_BOOLEAN DEV_VOID
GetAutoAttenuation DEV_VOID DEV_BOOLEAN
SetAsciiData DEV_VOID DEV_VOID
SetINT32Data DEV_VOID DEV_VOID
SetReal32Data DEV_VOID DEV_VOID
GetDataFormat DEV_VOID DEV_STRING
SaveData DEV_STRING DEV_VOID
PrintData DEV_STRING CONST_DEV_STRING

More info on commands...



Attributes


Scalar Attributes
Attribute name Data Type R/W Type Expert
Span
( Span Frequency, in MHz )
DEV_DOUBLEREAD_WRITENo
CenterFrequency
( Sets or retrieves the central frequency. This is listed in the base IVI Spec functions. )
DEV_DOUBLEREAD_WRITENo
MarkerX
( Sets or retrieves the central frequency. This is listed in the base IVI Spec functions. )
DEV_DOUBLEREADNo
MarkerY
( The point on the y-axis corresponding to the value of the marker IVI Spec compliance: IviSpecAnMarker Extension Group. )
DEV_DOUBLEREADNo
ErrorPolling
( This function periodically polls the device and reads its status, signaling malfunctioning. )
DEV_STRINGREADNo
Attenuation
( Specifies the input attenuation (in positive dB). IVI Spec base attribute. )
DEV_DOUBLEREAD_WRITENo
DetectorType
( Specifies the detection method used to capture and process the signal. IVI SpecAn base attribute. )
DEV_STRINGREAD_WRITENo
StartFrequency
( Sets the start frequency. IVI SpecAn base functions. )
DEV_DOUBLEREAD_WRITENo
StopFrequency
( Sets the stop frequency. IVI SpecAn base functions. )
DEV_DOUBLEREAD_WRITENo
FreqOffset
( Specifies the frequency offset for all frequency readouts such as center frequency, except that it does not affect marker count. IVI SpecAn base functions. )
DEV_DOUBLEREAD_WRITENo
ReferenceLevel
( Sets the amplitude of the reference level for the y axis. This is used as reference for amplitude measurements. This is typically set to a value slightly higher than the highest expected signal level. The units are determined by the amplitude units attribute. IVI SpecAn base attributes. )
DEV_DOUBLEREAD_WRITENo
OPC
( Operation completed command. Sets bit 0 in the standard event status register to )
DEV_SHORTREAD_WRITENo
ResolutionBandwidth
( See specific instrument documentation. IVI SpecAn base attribute. )
DEV_DOUBLEREAD_WRITENo
PeakThreshold
( Specifies the minimum signal level for thee analyzer's internal peak identification routine to recognize a signal as a peak. This applies to all traces and all windows. See specific instrument documentation and manual for details. )
DEV_DOUBLEREAD_WRITENo
PeakExcursion
( Specifies the minimum signal excursion above the threshold for the internal peak identification routine to recognize a signal as a peak . The excursion is the delta power between the noise level and the signal peak. See specific instrument documentation and manual for details. )
DEV_DOUBLEREAD_WRITENo
Fs
( Sets/reads synchrotron frequency. This is a synchrotron related functionality, it could be removed from abstract class if one was interested only in a Spectrum Analyzer device. )
DEV_DOUBLEREAD_WRITENo
WindowFs
( Window around fs in which we look for peaks. This is a synchrotron related functionality, it could be removed from abstract class if one was interested only in a Spectrum Analyzer device. )
DEV_DOUBLEREAD_WRITENo
Window DEV_DOUBLEREAD_WRITENo
NumberOfSweeps
( Sets the number of measures. Sets and reads the number of sweeps. See the related class property for details. This instrument supports only single and continuous sweep. IVI SpecAn base attribute. )
DEV_LONGREAD_WRITENo

Spectrum Attributes
Attribute name Data Type X Data Length Expert
StartStop
( Sets the start and stop frequencies. Center frequency will be in the middle. )
DEV_DOUBLE2No
TraceReal32
( Vector containing the Y values corresponding to the 401 points of the spectrum. )
DEV_DOUBLE401No
TraceInt32
( Y values corresponding to the 401 points in X axis of the spectrum analyzer )
DEV_LONG401No
GetSignalPeaks
( Retrieves the signal peaks. )
DEV_DOUBLE100No



States


States
Names Descriptions
ON Device is online
OFF Device is offline
FAULT Device not working
DISABLE accepts commands only from frontal panel. Remote control disabled.
UNKNOWN Device is in unknown state when GPIB is not responding



Device Classes

The following device servers implement the Spectrum Analyzer interface:
  • HPE4402B - device server to control the Hewlett-Packard E4402B spectrum analyzer.
  • RSFSEA20 - device server to control the Rhode&Schwarz FSEA20 spectrum analyzer



Contact

Please contact Giacomo Strangolino (giacomo.strangolino at elettra dot trieste dot it) for any suggestion or critique.

Document Actions