GetSourcePort(string, out string)
- Updated2025-10-13
- 1 minute(s) read
Gets 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 GetSourcePort(string selectorString, out string value)
Remarks
This method gets the value of SParamsSourcePort attribute.The default value is "port1".
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | out string | Upon return, contains 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.