FetchMeasurementArray(string, double, ref double[], ref double[], ref double[], ref double[])
- Updated2026-01-29
- 1 minute(s) read
Returns an array of the absolute and relative powers measured in the component carriers.
Use "subblock(n)" as the selector string to read results from this method.
Syntax
Namespace: NationalInstruments.RFmx.NRMX
public int FetchMeasurementArray(string selectorString, double timeout, ref double[] absolutePower, ref double[] peakAbsolutePower, ref double[] peakFrequency, ref double[] relativePower)
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies a selector string comprising of the result name, and subblock number. If you do not specify the result name, the default result instance is used. Example: |
| timeout | double | Specifies the timeout for fetching the specified measurement. This value is expressed in seconds. 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. |
| absolutePower | ref double[] | Upon return, contains an array of the power measured over the integration bandwidth of the component carrier. This value is expressed in dBm. |
| peakAbsolutePower | ref double[] | Upon return, contains an array of the peak power in the component carrier. This value is expressed in dBm. |
| peakFrequency | ref double[] | Upon return, contains an array of the frequency at which peak power occurs in the component carrier. This value is expressed in Hz. |
| relativePower | ref double[] | Upon return, contains an array of the component carrier power relative to its subblock power. This value is expressed in dB. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.