Creates selector string specifying the port(s) for use with configuration or fetch methods and methods.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public static string BuildPortString(string selectorString, string portString)

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.

portStringstring

Specifies the signal name for building the selector string. This input accepts the port name with or without the "port::" prefix. The default value is "" (empty string).

Returns

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