ExternalSource Object


Description

The ExternalSource object allows you to set unique properties and methods for each external source.

Accessing the ExternalSource Object

You can obtain a handle to an ExternalSource Object through ExtendedProperties

dim app

Set app = CreateObject("AgilentPNA835x.Application")

dim externalDevices

Set externalDevices = app.ExternalDevices

dim devicecount

devicecount = externalDevices.count

externalDevices.Add "NewPSG"

dim newExternalDevice

Set newExternalDevice = externalDevices.Item("NewPSG")

newExternalDevice.DeviceType = "Source"

newExternalDevice.IOConfiguration= "GPIB0::14::INSTR"

dim PSG

Set PSG = newExternalDevice.ExtendedProperties

PSG.DwellPerPoint = 5

 

See Also:

Configure an External Device

The PNA Object Model

 

Methods

Description

None

 

Properties

Description

DwellPerPoint

Sets and returns the dwell time for an external source.

EnableModulationControl

Enables/disables control of modulation in an external source.

TriggerMode

Sets and returns the trigger mode (Software / Hardware) for an external source.

TriggerPort

Sets and returns the PNA port through which an external source is to be triggered.

ExtendedProperties History

Interface

Introduced with PNA Rev:

IExternalSource

9.0

IExternalSource2

10.49