FetchIntermodMeasurement(string, double, out int, out double, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | 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. |
| timeout | double | 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. |
| intermodOrder | out int | Upon return, contains the order of the intermod. |
| lowerIntermodAbsolutePower | out 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. |
| upperIntermodAbsolutePower | out 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.