Sets whether to enable the selected segment for the sweep.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int SetSegmentEnabled(string selectorString, RFmxVnaMXSegmentEnabled value)

Remarks

This method sets the value of SegmentEnabled attribute.The default value is False.

Parameters

NameTypeDescription
selectorStringstring

Specifies the segment number.
Example:
"" or
"segment0".
You can use the BuildSegmentString(string, int) method to build the selector string.

valueRFmxVnaMXSegmentEnabled

Specifies whether to enable the selected segment for the sweep.

Returns

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