PowerMeterInterfaces Collection


Description

A collection object that provides a mechanism for accessing the PowerMeterInterface objects.

The collection size is limited to one PowerMeterInterface object. By default, that PowerMeterInterface object refers to GPIB, and to the GPIB address that is currently set for the power meter on that VNA.

The power meter is specified by using the Path property.

Accessing the PowerMeterInterfaces collection

Get a handle to a power meter object using the PowerMeterInterfaces collection.

Dim app As AgilentPNA835x.Application

Set app = CreateObject("AgilentPNA835x.Application", <analyzerName>)

Dim pwrMtrInterfaces As PowerMeterInterfaces

Set pwrMtrInterfaces = app.SourcePowerCalibrator.PowerMeterInterfaces

If pwrMtrInterfaces.Count > 0 Then

   Dim pwrMtrInterface As PowerMeterInterface

   Set pwrMtrInterface = pwrMtrInterfaces(1)

   pwrMtrInterface.Path = naUSB

   pwrMtrInterface.Locator = ”Agilent Technologies,U2000A,MY12345678”

End If

See Also:

Methods

 

Item

Use to get a handle to a PowerMeterInterface object in the collection.

Properties

Description

Count

Returns the number of objects in the collection.

Parent

Returns a handle to the SourcePowerCalibrator

IPowerMeterInterfaces History

Interface

Introduced with VNA Rev:

IPowerMeterInterfaces

7.50