Fetches the peak powers of the two fundamental tones.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchFundamentalMeasurement(string selectorString, double timeout, out double lowerTonePower, out double upperTonePower)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used. Example:
""
""
"result::r1"
You can use the BuildResultString(string) method to build the selector string.

timeoutdouble

Specifies the timeout, in seconds, for fetching the specified measurement. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete.

lowerTonePowerout double

Upon return, contains the peak power measured around the lower tone frequency when you set the SetLocalPeakSearchEnabled(string, RFmxSpecAnMXIMLocalPeakSearchEnabled) method to True. This value is expressed in dBm. When you set the IM Local Peak Search Enabled method to False, the measurement returns the power at the lower tone frequency.

upperTonePowerout double

Upon return, contains the peak power measured around the upper tone frequency when you set the IM Local Peak Search Enabled method to True. This value is expressed in dBm. When you set the IM Local Peak Search Enabled method to False, the measurement returns the power at the upper tone frequency.

Returns

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