Write/Read
About Power Limit

Limit Property


Description

Sets and returns the power limit for the specified port.

 VB Syntax

gpl.Limit (port) = value

Variable

(Type) - Description

gpl

A GlobalPowerLimit (object)

port

(Long) Port number for which power limit value is to be set.

value

(Double) Power limit value. Choose a value between -27 dBm (approximately) and the max settable power for the PNA.

Return Type

Double

Default

100 dBm for all ports

Examples

gpl.Limit(1) = 0 'Write

Limit = gpl.Limit(2) 'Read

C++ Syntax

HRESULT get_Limit(long port, double *pVal)
HRESULT put_Limit(long port, double newVal)

Interface

IGlobalPowerLimit