SetReceiverPort(string, string)
- Updated2025-10-13
- 1 minute(s) read
Sets the receiver port name for wave measurement. Incident and scattered waves are denoted by "a_(receiver port name)_(source port name)" and "b_(receiver port name)_(source 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 "b21", set WavesReceiver to Test (0), set this method to "port2" and WavesSourcePort to "port1".
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int SetReceiverPort(string selectorString, string value)
Remarks
This method sets the value of WavesReceiverPort attribute.The default value is "port1".
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the wave number. |
| value | string | Specifies the receiver port name for wave measurement. Incident and scattered waves are denoted by "a_(receiver port name)_(source port name)" and "b_(receiver port name)_(source 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 "b21", set WavesReceiver to Test (0), set this method to "port2" and WavesSourcePort to "port1". |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.