RFmxSpecAnMXNFResults.GetMeasurementYFactor Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Gets an array of the measurement Y-Factors measured at the frequencies specified by the SetFrequencyList(String, Double) method. This value is expressed in dB. A valid result is returned only when you set the SetMeasurementMethod(String, RFmxSpecAnMXNFMeasurementMethod) method to YFactor.
Namespace: NationalInstruments.RFmx.SpecAnMX
Assembly: NationalInstruments.RFmx.SpecAnMX.Fx40 (in NationalInstruments.RFmx.SpecAnMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int GetMeasurementYFactor( string selectorString, ref double[] value )
Public Function GetMeasurementYFactor ( selectorString As String, ByRef value As Double() ) As Integer
Parameters
- selectorString String
-
Specifies the result name.
Example: ""
"result::r1"
You can use the BuildResultString(String) method to build the selectorString. - value Double
- Upon return, contains an array of the measurement Y-Factors measured at the frequencies specified by the SetFrequencyList(String, Double) method. This value is expressed in dB. A valid result is returned only when you set the SetMeasurementMethod(String, RFmxSpecAnMXNFMeasurementMethod) method to YFactor.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method gets the value of NFResultsMeasurementYFactor attribute.