Application Object


Description

The Application object is the highest object in the VNA object model. This object presents methods and properties that affect the entire analyzer, rather than a specific channel or measurement. For example, the application object provides the GetIDString method. There's only one ID string for the instrument, unrelated to the channel or parameter being measured. Likewise, the TriggerSignal Property is global to the instrument. You can elect to use an internally generated (free run) trigger or a manual trigger. Either way, that type of trigger generation will be used on all measurements, on all channels. Therefore, it is under the Application object.

Accessing the Application object

This object is unique in that you must create this object rather than just get a handle to it.

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

Replace <analyzerName> with the full computer name of your VNA. For example, "My VNA". See Change Computer Name.

See Also:

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

Methods

Interface

See History

Description

ActivateWindow

IApplication

Makes a window object the Active Window.

AllowAllEvents

IApplication

Monitors all events

AllowEventCategory

IApplication

Monitors an event category

AllowEventMessage

IApplication

Monitors an event

AllowEventSeverity

IApplication

Monitors an event severity level

BuildHybridKit

IApplication

Defines the user kit as port1kit + port2kit.

Channel

IApplication

Returns a handle to the channel object for the supplied channel number.

Configure

IApplication9

Restarts as an "N-port" VNA using the specified multiport test set.

CreateCustomMeasurementEx

IApplication3

Creates a new custom measurement with initialization.

CreateCustomMeasurement

IApplication

Superseded with CreateCustomMeasurementEx Method

CreateMeasurement

IApplication

Creates a new measurement.

CreateSParameter

IApplication

Creates a new S-Parameter measurement.

CreateSParameterEx

IApplication

Superseded with Create SParameter Method

DeleteShortCut

IApplication

Removes a macro (shortcut) from the list of macros

DisallowAllEvents

IApplication

Monitors NO events

DoPrint

IApplication

Prints the screen to the active Printer.

ExecuteShortcut

IApplication

Executes a macro (shortcut) stored in the analyzer.

GetAuxIO

IApplication

Returns a handle to the AuxIO interface

GetCalManager

IApplication

Returns a handle to the CalManager interface

GetExternalTestSetIO

IApplication

Returns a handle to the ExternalTestSet IO interface

GetIPConfigurationStruct

IApplication14

Returns an NA_IPConfiguration data structure which contains information about the current status of the VNA computer networking configuration.

GetLicenses

IApplication23

Returns the list of licenses.

GetMaterialHandlerIO

IApplication

Returns a handle to the MaterialHandlerIO interface

GetShortcut

IApplication

Returns the title and path of the specified macro (shortcut).

LANConfigurationInitialize

IApplication13

Resets the VNA LAN configuration.

LaunchCalWizard

IApplication

Launches the Cal Wizard

LaunchDialog

IApplication10

Launches the specified dialog box.

ManualTrigger

IApplication

Triggers the analyzer when TriggerSignal = naTriggerManual.

Preset

IApplication

Resets the analyzer to factory defined default settings.

PrintToFile

IApplication

Saves the screen data to bitmap (.bmp) file of the screen.

PutShortcut

IApplication

Puts a Macro (shortcut) file into the analyzer.

Quit

IApplication

Ends the Network Analyzer application.

Recall

IApplication

Recalls a measurement state, calibration state, or both from the hard drive into the analyzer.

RecallKits

IApplication

Recalls the calibration kits definitions that were stored with the SaveKits command.

Reset

IApplication

Removes all existing windows and measurements.

RestoreCalKitDefaults

IApplication

Restores the factory defaults for the specified kit.

RestoreCalKitDefaultsAll

IApplication

Restores the factory defaults for all kits.

Save

IApplication

Saves instrument state and calibration files to disk

SaveCitiDataData

IApplication5

Saves UNFORMATTED trace data to .cti file. Superseded with SaveData

SaveCitiFormattedData

IApplication5

Saves FORMATTED trace data to .cti file. Superseded with SaveData

SaveData

IApplication18

Saves trace data to files on disk.

SaveKits

IApplication

Saves all cal kits to disk.

SetFailOnOverRange

IApplication

Causes over range values to return an error code

SetIPConfiguration

IApplication14

Modifies settings of the VNAs computer networking configuration.

ShowStatusBar

IApplication

Shows and Hides the Status Bar.

ShowStimulus

IApplication

Shows and Hides Stimulus information.

ShowTitleBars

IApplication

Shows and Hides the Title Bars.

ShowToolbar

IApplication

Shows and Hides the specified Toolbar.

UserPreset

IApplication7

Performs a User Preset.

UserPresetLoadFile

IApplication7

Loads an existing instrument state file (.sta or .cst) to be used for User Preset.

UserPresetSaveState

IApplication7

Saves the current instrument settings as UserPreset.sta.

Properties

 

Description

ActiveCalKit

IApplication

Returns a pointer to the kit identified by kitNumber.

ActiveChannel

IApplication

Returns a handle to the Active Channel object.

ActiveMeasurement

IApplication

Returns a handle to the Active Measurement object.

ActiveNAWindow

IApplication

Returns a handle to the Active Window object.

ArrangeWindows

IApplication

Sets or returns the arrangement of all the windows.

AuxiliaryTriggerCount

IApplication11

Returns the number of Aux trigger input / output connector pairs in the instrument.

CalKitType

IApplication

Sets or returns the calibration kit type for to be used for calibration or for kit modification. Shared with the CalKit object.

Capabilities

IApplication4

Return capabilities of the remote VNA.

Channels

IApplication

Collection for iterating through the channels

CoupledMarkers

IApplication

Sets (or reads) coupled markers ON and OFF

CoupledMarkersMethod

IApplication20

Set and reads the scope of coupled markers.

DateTime

IApplication22

Returns the system date and time.

DisplayAutomationErrors

IApplication2

Enables or disables automation error messages from being displayed on the screen. U

DisplayGlobalPassFail

IApplication6

Shows or hides the dialog which displays global pass/fail results.

E5091Testsets

IApplication8

Collection to control the E5091A testset.

ENRFile

IApplication13

Manages Noise ENR files.

ExternalALC

IApplication

Sets or returns the source of the analyzer leveling control.

ExternalDevices

IApplication16

Collection to control External Devices

ExternalTestsets

IApplication9

Collection to control External Test sets.

FIFO

IApplication15

Controls FIFO settings

GlobalPowerLimit

IApplication17

Controls Global Power Limit settings

GPIBAddress

IApplication8

Sets and returns the VNA GPIB address.

GPIBMode

IApplication

Makes the analyzer the system controller or a talker/listener.

GridLineType

IApplication17

Set and return the line type of the window grid (solid | dotted)

IDString

IApplication

Returns the model, serial number and software revision of the analyzer

InterfaceControl

IApplication8

Control the Interface control features.

IOConfiguration

IApplication19

Provides access to IO Configuration commands

LANConfiguration

IApplication13

Returns the current status of the VNA computer networking configuration.

LXIDeviceIDState

IApplication14

Displays the LAN Status dialog with LAN Status Indicator showing IDENTIFY.

LocalLockoutState

IApplication4

Prevents use of the mouse, keyboard, and front panel while your program is running.

Measurement

IApplication

Create and manage measurements

Measurements

IApplication

Collection for iterating through the Application measurements.

MessageText

IApplication

Returns text for the specified eventID

NaWindows

IApplication

Collection for iterating through the Application windows.

NoiseSourceState

IApplication13

Sets and Reads the ON | OFF state of the noise source

NumberOfPorts

IApplication

Returns the  number of hardware test ports on the VNA

Options

IApplication

Returns the options on the analyzer

PathConfigurationManager

IApplication11

Provides access to hardware configuration.

Port Extensions

IApplication

Superseded with Fixturing Object

Preferences

IApplication5

Preferences for many VNA settings..

ScpiStringParser

IApplication

Provides the ability to send a SCPI command from within the COM command.

SecurityLevel

IApplication4

Turns ON or OFF the display of frequency information.

SICL

IApplication5

Allows control of the VNA via SICL

SICLAddress

IApplication8

Sets and returns the VNA SICL address

SourcePowerCalibrator

IApplication2

Allows capability for performing source power calibrations.

SourcePowerState

IApplication

Turns Source Power ON and OFF.

SystemImpedanceZ0

IApplication

Sets the analyzer impedance value.

SystemName

IApplication

Returns the full computer name of the VNA.

Touchscreen

IApplication12

Enables and disables touchscreen.

TriggerDelay

IApplication

Sets or returns the delay time for a trigger.

TriggerSetup

IApplication4

Controls triggering for the entire VNA application.

TriggerSignal

IApplication

Superseded with Source Property

TriggerType

IApplication

Superseded with Scope Property

UncertaintyManager

IApplication20

Returns a handle to the (Dynamic) Uncertainty Manager application.

UserPresetEnable

IApplication7

'Checks' and 'clears' the enable box on the User Preset dialog box.

VelocityFactor

IApplication

Sets the velocity factor to be used with Electrical Delay, Port Extensions, and Time Domain marker distance calculations.

Visible

IApplication

Makes the Network Analyzer application visible or not visible.

WindowState

IApplication

Sets or returns the window setting of Maximized, Minimized, or Normal.

Shared with the NAWindow Object

Events

Interface

Description

OnCalEvent

IApplication

Triggered by a calibration event.

OnChannelEvent

IApplication

Triggered by a channel event.

OnDisplayEvent

IApplication

Triggered by a display event.

OnHardwareEvent

IApplication

Triggered by a hardware event.

OnMeasurementEvent

IApplication

Triggered by a measurement event.

OnSCPIEvent

IApplication

Triggered by a SCPI event.

OnSystemEvent

IApplication

Triggered by a system event.

OnUserEvent

IApplication

For future use

 

IApplication History

Interface

Introduced with VNA Rev:

IApplication

1.0

IApplication2

3.0

IApplication3

3.2

IApplication4

3.5

IApplication5

4.0

IApplication6

5.0

IApplication7

5.0

IApplication8

5.2

IApplication9

6.0

IApplication10

7.20

IApplication11

7.20

IApplication12

7.21

IApplication13

8.0

IApplication14

8.2

IApplication15

8.34

IApplication16

9.0

IApplication17

9.0

IApplication18

9.2

IApplication19

10.0

IApplication20

10.40

IApplication22

10.45

IApplication23

A.12.70