PathElement Object


Description

Provides access to the settings for the PathElement object.

Accessing the PathElement 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

Dim element as PathElement
Set element = pathConfig.PathElement("Src1")

Accessing the PathElement 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();

path.get_Element("Port1RefMxr").Value = "External";

 

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

None

 

 

Properties

Interface

See History

Description

Name

IPathElement

Returns the name of the element.

Parent

IPathElement

Returns a pointer to the Parent Object (PathConfiguration)

Value

IPathElement

Read / Write get the current setting  for the element.

Values

IPathElement

Returns all valid settings for the element.

 

IPathElement History

Interface

Introduced with PNA Rev:

IPathElement

7.2