Sets the resolution bandwidth, in hertz (Hz), for the harmonic. The value set by this method is not used if you set the SetAutoSetupEnabled(string, RFmxSpecAnMXHarmAutoHarmonicsSetupEnabled) method to True.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetHarmonicBandwidth(string selectorString, double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valuedouble

Specifies the resolution bandwidth, in hertz (Hz), for the harmonic. The value set by this method is not used if you set the SetAutoSetupEnabled(string, RFmxSpecAnMXHarmAutoHarmonicsSetupEnabled) method to True.

Returns

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