Write / Read
About Source Ports

ALCLevelingMode Property


Description

Sets and returns the ALC mode for the specified channel and port. Use GetSupportedALCModes to return a list of valid ALC modes for the VNA.

Learn more about ALC mode.

VB Syntax

chan.ALCLevelingMode (sourcePort) = value

Variable

(Type) - Description

chan

(object) -  A Channel object

sourcePort

(long integer) - The source port for which to make this setting.  If ports are remapped, specify the logical port number.

Note: If the port is defined by a string name, such as an external source, a balanced port, or one of the Source 2 outputs on the 2-port 2-source VNA-x model, then you must use chan.getPortNumber to translate the string into a port number. To learn more see Remotely Specifying a Source Port.

value

(enum as naALCLevelingMode) - Choose from:

  • 0 naALCInternal

  • 2 naALCOpenLoop (PNA-X only)

Return Type

Enum

Default

naALCInternal

Examples

chan.ALCLevelingMode(1) = 2 'Write
state = chan.ALCLevelingMode(4) 'Read

C++ Syntax

HRESULT get_ALCLevelingMode(long port, tagNAALCLevelingMode* pVal);

HRESULT put_ALCLevelingMode(long port,tagNAALCLevelingMode newVal);

Interface

IChannel9