RFmxVnaMXSParamsConfiguration.GetSourcePort Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
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".
Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int GetSourcePort( string selectorString, out string value )
Public Function GetSourcePort ( selectorString As String, <OutAttribute> ByRef value As String ) As Integer
Parameters
- selectorString String
- Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- value 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".
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method gets the value of SParamsSourcePort attribute.The default value is "port1".