Gets whether a particular harmonic for measurement is enabled.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetHarmonicEnabled(string selectorString, out RFmxSpecAnMXHarmHarmonicEnabled value)

Remarks

This method maps to the RFmxSpecAn_HarmGetHarmonicEnabled() 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.

valueout RFmxSpecAnMXHarmHarmonicEnabled

Upon return, indicates whether a particular harmonic for measurement is enabled.

Returns

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