Gets whether to enable the selected segment for the sweep.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int GetSegmentEnabled(string selectorString, out RFmxVnaMXSegmentEnabled value)

Remarks

This method gets 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.

valueout RFmxVnaMXSegmentEnabled

Upon return, contains 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.