FetchHarmonicMeasurementArray(string, double, ref double[], ref double[], ref double[], ref double[])
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| timeout | double | 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. |
| averageRelativePower | ref double[] | Upon return, contains the array of average power, in dB, relative to the fundamental power measured at the harmonic. |
| averageAbsolutePower | ref double[] | Upon return, contains the array of average absolute power, in dBm, measured at the harmonic. |
| rbw | ref double[] | Upon return, contains the array of resolution bandwidth (RBW), in hertz (Hz), which is used by the harmonic measurement, for the harmonic. |
| frequency | ref 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.