RFmxSpecAnMXPavtConfiguration.SetSegmentMeasurementOffset Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets the time offset from the start of the segment for which the phase and amplitude, amplitude, or frequency error values are computed. This value is expressed in seconds. This property is valid only when you set the SetMeasurementIntervalMode(String, RFmxSpecAnMXPavtMeasurementIntervalMode) method to Variable.
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 SetSegmentMeasurementOffset( string selectorString, double value )
Public Function SetSegmentMeasurementOffset ( selectorString As String, value As Double ) As Integer
Parameters
- selectorString String
-
Specifies the segment number.
Example: "segment0".
You can use the BuildSegmentString(String, Int32) method to build the selector string. - value Double
- Specifies the time offset from the start of the segment for which the phase and amplitude, amplitude, or frequency error values are computed. This value is expressed in seconds. This property is valid only when you set the SetMeasurementIntervalMode(String, RFmxSpecAnMXPavtMeasurementIntervalMode) method to Variable.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method sets the value of PavtSegmentMeasurementOffset attribute. The default value is 0.