PathConfiguration Object


Description

Provides access to the path configuration currently active on the channel object.

To load, store, or delete a configuration, see ConfigurationManager Object.

Accessing the PathConfiguration object in VB

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

Dim chan as Channel
Set chan = app.ActiveChannel

Dim pathConfig As PathConfiguration
Set pathConfig = chan.PathConfiguration

Accessing the PathConfiguration object in C#

Type pnaType = Type.GetTypeFromProgID("AgilentPNA835x.Application", "PNA-NAME-HERE");  

AgilentPNA835x.Application pna = (AgilentPNA835x.Application)Activator.CreateInstance(pnaType);

AgilentPNA835x.Channel chan = (AgilentPNA835x.Channel)pna.ActiveChannel;

AgilentPNA835x.PathConfiguration path = (AgilentPNA835x.PathConfiguration)chan.get_PathConfiguration();

 

Note:

To learn how to make configuration (element) settings, see this Path Configuration Example

Also see this list of configurable elements and settings.

See Also:

Methods

Interface

See History

Description

CopyFrom

IPathConfiguration2

Copy the mechanical switch settings and attenuator settings from the specified channel to the active channel.

Store

IPathConfiguration

Saves the current configuration to the specified name.

Properties

Interface

See History

Description

DescriptiveText

IPathConfiguration

Write and read descriptive text associated with the configuration.

Elements

IPathConfiguration

Collection of Elements that can be configured (switches and so forth). See the list of elements and settings.

Element

IPathConfiguration

Returns a handle to a IPathElement object.

Name

IPathConfiguration

Returns the name of the current configuration.

Parent

IPathConfiguration

Returns a pointer to the parent COM object (Channel).

 

IPathConfiguration History

Interface

Introduced with VNA Rev:

IPathConfiguration

7.2

IPathConfiguration2

9.4