SetHarmonicBandwidth(string, double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the harmonic number. Example: "harmonic0". You can use the BuildHarmonicString2(string, int) method to build the selector string. |
| value | double | 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.