Creates a selector string specifying the segment number for use with configuration or fetch methods and methods.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public static string BuildSegmentString(string selectorString, int segmentNumber)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used. Example:
"result::myresult1"
You can use the BuildResultString(string) method to build the selector string.

segmentNumberint

Specifies the segment for building the selector string.

Returns

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