Write-only

SetPortMap Method


Description

Set the DUT-to-VNA port mapping for the Noise Figure, Gain Compression, IMD, IMDx, IMS, or IMSx measurement. Use the DeviceInputPort and DeviceOutputPort commands to read the DUT input and output ports.

For Noise Figure:

Port mapping is allowed without restriction when the standard PNA receiver is used (NoiseReceiver is set to naStandardReceiver). When the low-noise receiver is selected (NoiseReceiver is set to naNoiseReceiver) the following restrictions apply:

  • If the low-noise receiver is selected, the DUT output port must be port 2.

  • On high-frequency PNAs that have an internal tuner on port 1, the input port must be port 1 if the internal tuner is selected as the noise tuner. Conversely, if the input port is something other than 1, the internal tuner cannot be selected.

  • For PNAs that have a maximum frequency of 26.5 GHz or less, any port can be selected as the DUT input port.

  • If a vector calibration is desired, the tuner must be connected to the selected input port.

When setting IMD and IMS channels:

  • When input is 1, output can be 2 or 4.

  • When input is 3, output must be 4.

  • This setting is necessary only when using the limited port mapping feature. Learn more.

 VB Syntax

obj.SetPortMap in,out

Variable

(Type) - Description

obj

A GainCompression (object) or

A SweptIMD (object) or

An IMSpectrum (object)

A NoiseFigure (object) - See example program

in

VNA port which is connected to the DUT input.

out

VNA port which is connected to the DUT output.

Return Type

Not Applicable

To read port map, use:

DeviceInputPort Property

DeviceOutputPort Property

Default

1,2

Examples

gca.SetPortMap 2,1

C++ Syntax

HRESULT SetPortMap(long input_port,long output_port);

Interface

IGainCompression

ISweptIMD

IMSpectrum

INoiseFigure6