Fetches the power measured at the harmonic frequency.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchHarmonicMeasurement(string selectorString, double timeout, out double averageRelativePower, out double averageAbsolutePower, out double rbw, out double frequency)

Remarks

This method maps to the RFmxSpecAn_HarmFetchHarmonicMeasurement() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name and harmonic number. Example: "harmonic0", "result::r1/harmonic0". You can use the BuildHarmonicString2(string, int) method to build the selector string.

timeoutdouble

Specifies the timeout, in seconds, for fetching the specified measurement. Set this value to an appropriate time longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete.

averageRelativePowerout double

Upon return, contains the average power, in dB, relative to the fundamental power measured at the harmonic.

averageAbsolutePowerout double

Upon return, contains the average absolute power, in dBm, measured at the harmonic.

rbwout double

Upon return, contains the resolution bandwidth (RBW), in hertz (Hz), which is used by the harmonic measurement, for the harmonic.

frequencyout double

Upon return, contains the RF frequency, in Hz, of the harmonic.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.