Fetches the switching power trace and frequency offsets.

Syntax

Namespace: NationalInstruments.RFmx.GsmMX

public int FetchSwitchingPowerTrace(string selectorString, double timeout, ref float[] offsetFrequency, ref float[] absolutePower, ref float[] relativePower)

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. The default is "" (empty string).
Example:
""
"result::r1"
You can use the BuildResultString(string) method to build the selector string.

timeoutdouble

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.

offsetFrequencyref float[]

Upon return, contains an array of switching offset frequencies at which the measurement is performed in an ascending order. This value is expressed in Hz.

absolutePowerref float[]

Upon return, contains an array of absolute powers corresponding to the switching offset frequency list. This value is expressed in dBm.

relativePowerref float[]

Upon return, contains an array of relative powers corresponding to the switching offset frequencies. 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.