RFmxVnaMX.SetSegmentEnabled Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets whether to enable the selected segment for the sweep.
Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int SetSegmentEnabled( string selectorString, RFmxVnaMXSegmentEnabled value )
Public Function SetSegmentEnabled ( selectorString As String, value As RFmxVnaMXSegmentEnabled ) As Integer
Parameters
- selectorString String
- Specifies the segment number and signal number.
Example:
"signal0" or
"signal0/segment0".
You can use the BuildSegmentString(String, Int32) method to build the selector string. - value RFmxVnaMXSegmentEnabled
- Specifies whether to enable the selected segment for the sweep.
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 SegmentEnabled attribute.The default value is False.