SourcePowerCalibrator Object


Description

This object is a child of the Application object and is a vehicle for performing source power calibrations.

Accessing the SourcePowerCalibrator Object

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

Dim ispc As ISourcePowerCalibrator
Set ispc = app.SourcePowerCalibrator

Note: If you see this error:

The target NA stimulus channel has not been set. With the SourcePowerCalibrator object, you must first call SetCalInfoEx with the channel number. SetCalInfoEx must not be made against a temporary copy of the SourcePowerCalibrator object.

Or this error:

Channel not found.

It is either because you set the wrong channel number in the SetCalInfoEx call or because the SourcePowerCalibrator object is unique in that you MUST use the SAME instance of the SourcePowerCalibrator object for every property that is set. Do this by naming/setting a variable as in this vbs example:

set sourcepowercalibrator = app.sourcepowercalibrator

See Also:

Note: Interface ISourcePowerCalibrator is abbreviated as ISPC in the following table.

(Bold Methods or Properties provide access to a child object)

Methods

Interface

See History

Description

AbortPowerAcquisition

ISPC

Aborts a source power cal acquisition sweep that is currently in progress.

AcquirePowerReadings

ISPC

Superseded with AcquirePowerReadingsEx

AcquirePowerReadingsEx

ISPC4

Initiates a source power cal acquisition.

ApplyPowerCorrectionValues

ISPC

Superseded with ApplyPowerCorrectionValuesEx

ApplyPowerCorrectionValuesEx

ISPC5

Applies correction values after completing a source power cal acquisition sweep. Optionally perform a calibration of the reference receiver used in the source power cal.

CheckPower

ISPC2

Measures power at a specific frequency. Used to test power level before and/or after applying a source power calibration.

LaunchPowerMeterSettingsDialog

ISPC2

Launches the Power Meter Settings dialog on the PNA.

SetCalInfo

ISPC

Superseded with SetCalInfoEx Method

SetCalInfo2

ISPC3

Superseded with SetCalInfoEx Method

SetCalInfoEx Method

ISPC4

Specifies the channel and source port to be used for the source power calibration.

SetPowerAcquisitionDevice

ISPC3

Sets the power sensor channel (A or B) to be used.   This method is ONLY necessary when performing an SMC calibration.

Properties

Interface

Description

CalPower

ISPC

Specifies the power level that is expected at the desired reference plane.

IterationsTolerance

ISPC3

Sets the maximum desired deviation from the sum of the test port power and the offset value.

LastCalPassedTolerance

ISPC7

Returns pass / fail status of the user-specified tolerance limits on the target cal power.

MaximumIterationsPerPoint

ISPC3

Specifies maximum number of readings to take at each data point for iterating the source power.

PowerAcquisitionDevice

ISPC2

Specifies the power sensor channel (A or B) that is currently selected for use at a specific frequency.

PowerLossSegments (collection)

ISPC2

Collection for iterating through the segments of the power loss table used in source power calibration.

PowerMeterGPIBAddress

ISPC

Specifies the GPIB address of the power meter.

PowerMeterInterfaces

ISPC6

Collection for getting a handle to the available power meters.

PowerSensors (collection)

ISPC2

Collection for iterating through the PowerSensor objects which are connected to the power meter for a source power cal.

ReadingsPerPoint

ISPC

Specifies the maximum power readings for power meter settling.

ReadingsTolerance

ISPC3

Power meter settling tolerance value.

USBPowerMeterCatalog

ISPC6

Returns a list of USB power meters that are connected to the PNA.

UsePowerLossSegments

ISPC

Specifies if subsequent calls to the AcquirePowerReadings method will make use of the loss table (PowerLossSegments).

UsePowerSensorFrequencyLimits

ISPC

Specifies if subsequent calls to the AcquirePowerReadings method will make use of power sensor frequency checking capability.

ISourcePowerCalibrator History

Interface

Introduced with PNA Rev:

ISourcePowerCalibrator

2.0

ISourcePowerCalibrator2

3.5

ISourcePowerCalibrator3

4.0

ISourcePowerCalibrator4

6.2

ISourcePowerCalibrator5

7.2

ISourcePowerCalibrator6

7.5

ISourcePowerCalibrator7

9.2