Sets the source port name of the S-Parameter. S-Parameter is denoted by "S_(receiver port name)_(receiver port name)".For example, to measure S_port2_port1, set this method to "port1".

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int SetSourcePort(string selectorString, string value)

Remarks

This method sets the value of SParamsSourcePort attribute.The default value is "port1".

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

valuestring

Specifies the source port name of the S-Parameter. S-Parameter is denoted by "S_(receiver port name)_(receiver port name)".For example, to measure S_port2_port1, set this method to "port1".

Returns

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