Gets the power measured at the frequencies specified by the SetFrequencyList(string, double[]) method. This value is expressed in dBm. A valid result is returned only when you set the SetMeasurementMethod(string, RFmxSpecAnMXNFMeasurementMethod) method to Cold-source.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetColdSourcePower(string selectorString, ref double[] value)

Remarks

This method gets the value of NFResultsColdSourcePower attribute.

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name.
Example: ""
"result::r1"
You can use the BuildResultString(string) method to build the selectorString.

valueref double[]

Upon return, contains the power measured at the frequencies specified by the SetFrequencyList(string, double[]) method. This value is expressed in dBm. A valid result is returned only when you set the SetMeasurementMethod(string, RFmxSpecAnMXNFMeasurementMethod) method to Cold-source.

Returns

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