Gets the frequency, in hertz (Hz), of the harmonics specified by the selector string.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetHarmonicFrequency(string selectorString, out double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueout double

Upon return, contains the frequency, in Hz, of the harmonic specified by the selector string.

Returns

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