Fetches the power measured at the harmonic frequency.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchHarmonicMeasurementArray(string selectorString, double timeout, ref double[] averageRelativePower, ref double[] averageAbsolutePower, ref double[] rbw, ref double[] frequency)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

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.

averageRelativePowerref double[]

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

averageAbsolutePowerref double[]

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

rbwref double[]

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

frequencyref double[]

Upon return, contains the array of 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.