GetReceiver(string, out RFmxVnaMXWavesReceiver)
- Updated2025-10-13
- 1 minute(s) read
Gets whether to measure the wave on the reference receiver or the test receiver of the Wave Receiver Port. 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 this method to Test (0), WavesReceiverPort to "port2" and WavesSourcePort to "port1".
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int GetReceiver(string selectorString, out RFmxVnaMXWavesReceiver value)
Remarks
This method gets the value of WavesReceiver attribute.The default value is Test.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the wave number. |
| value | out RFmxVnaMXWavesReceiver | Upon return, contains whether to measure the wave on the reference receiver or the test receiver of the Wave Receiver Port. 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 this method to Test (0), WavesReceiverPort 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.