Fetches the peak powers of the lower and upper intermods.
Use "intermod(n)" as the selector string to read results from this method.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchIntermodMeasurement(string selectorString, double timeout, out int intermodOrder, out double lowerIntermodAbsolutePower, out double upperIntermodAbsolutePower)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the result name, and intermod number. If you do not specify the result name, the default result instance is used.
Example:
"intermod0"
"result::r1/intermod0"
You can use the BuildIntermodString(string, int) 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.

intermodOrderout int

Upon return, contains the order of the intermod.

lowerIntermodAbsolutePowerout double

Upon return, contains the peak power measured around the lower intermod 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 intermod frequency.

upperIntermodAbsolutePowerout double

Upon return, contains the peak power measured around the upper intermod 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 upper intermod frequency.

Returns

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