Configures the harmonic frequency, acquisition bandwidth, and acquisition time for the harmonic, when you set the SetAutoSetupEnabled(string, RFmxSpecAnMXHarmAutoHarmonicsSetupEnabled) method to False.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureHarmonicArray(string selectorString, int[] harmonicOrder, double[] harmonicBandwidth, RFmxSpecAnMXHarmHarmonicEnabled[] harmonicEnabled, double[] harmonicMeasurementInterval)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

harmonicOrderint[]

Specifies an array representing the order of the harmonic.

harmonicBandwidthdouble[]

Specifies an array representing the resolution bandwidth, in hertz (Hz), for the harmonic.

harmonicEnabledRFmxSpecAnMXHarmHarmonicEnabled[]

Specifies an array representing whether to enable a particular harmonic for measurement. Only the enabled Harmonics are used to measure the total harmonic distortion (THD).

harmonicMeasurementIntervaldouble[]

Specifies an array representing the acquisition time, in seconds, for the harmonic.

Returns

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