RFmx VNA DotNET

Table of Contents

RFmxVnaMXWavesConfiguration.SetSourcePort Method

  • Updated2024-07-17
  • 1 minute(s) read
RFmxVnaMXWavesConfiguration.SetSourcePort Method

RFmxVnaMXWavesConfigurationSetSourcePort Method

Sets 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 SetSourcePort(
	string selectorString,
	string value
)
Public Function SetSourcePort ( 
	selectorString As String,
	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
Specifies 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

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

Remarks

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

See Also

Log in to get a better experience