User`s guide
104 E6651A User’s Guide
6 Remote Interface (API) Programming Command Reference
E6651_GetSPTOTPower
Declaration
int E6651_GetSPTOTPower(BYTE MID, double * Value);
Parameter MID [in]: E6651’s equipment number to be controlled
remotely.
Value [out]: Current “Total Power” value of E6651(MID)
when E6651 is operating in Spectrum
Analyzer mode.
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Retrieve “Total Power” value of E6651(MID) when E6651 is
operating in Spectrum Analyzer mode.
E6651_GetSPOBW
Declaration int E6651_GetSPOBW(BYTE MID, double * Value);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Value [out]: Current “Occupied Bandwidth” value of
E6651(MID) when E6651 is operating in
Spectrum Analyzer mode.
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Retrieve “Occupied Bandwidth” value of E6651(MID) when
E6651 is operating in Spectrum Analyzer mode.
E6651_AddMarker
Declaration int E6651_AddMarker(BYTE MID, double Freq);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Freq [in]: Frequency value of Marker to be added.
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Add Marker by setting Frequency value of the marker when
E6651 is operating in Spectrum Analyzer mode.