RFmxVnaMXWavesConfiguration.GetSourcePort Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Gets the source port name for wave measurement.Incident and scattered waves are denoted by "a_(receiver port name)_(receiver port name)" and "b_(receiver port name)_(receiver port name)" respectively. On a receiver port, the a and b waves are measured using Reference receiver and Test receiver respectively. For example, to measure 'b_port2_port1', set (a href="javascript:launchmergedhelp('rfmxvna.chm', 'rfmxvnacvi.chm', 'RFMXVNA_ATTR_WAVES_RECEIVER.html')")RFMXVNA_ATTR_WAVES_RECEIVER(/a) to (format type="bold")Test (0)(/format), (a href="javascript:launchmergedhelp('rfmxvna.chm', 'rfmxvnacvi.chm', 'RFMXVNA_ATTR_WAVES_RECEIVER_PORT.html')")RFMXVNA_ATTR_WAVES_RECEIVER_PORT(/a) to "port2" and 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 for wave measurement.Incident and scattered waves are denoted by "a_(receiver port name)_(receiver port name)" and "b_(receiver port name)_(receiver port name)" respectively. On a receiver port, the a and b waves are measured using Reference receiver and Test receiver respectively. For example, to measure 'b_port2_port1', set (a href="javascript:launchmergedhelp('rfmxvna.chm', 'rfmxvnacvi.chm', 'RFMXVNA_ATTR_WAVES_RECEIVER.html')")RFMXVNA_ATTR_WAVES_RECEIVER(/a) to (format type="bold")Test (0)(/format), (a href="javascript:launchmergedhelp('rfmxvna.chm', 'rfmxvnacvi.chm', 'RFMXVNA_ATTR_WAVES_RECEIVER_PORT.html')")RFMXVNA_ATTR_WAVES_RECEIVER_PORT(/a) to "port2" and 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 WavesSourcePort attribute.The default value is "port1".