TestsetControl Object


Description

A TestsetControl object is used to control one of the supported test sets. Only one external test set can be controlled by the VNA at any time. The Testset Control object appears as an item in the ExternalTestsets collection, which in turn is a property of the main application object.

If the specified test set is not connected to the VNA or is not ON, then setting Enabled = True will return an error. All other properties can be set even if the test set is not connected.

Note: The ONLY way to load a test set configuration file is by sending the testsets.Add method. There is no method to query the test set type. See an example program.

Accessing a TestsetControl object

The ExternalTestsets collection is a property of the main Application Object. You can obtain a handle to a testset object by specifying an item in the collection.

Visual Basic Example

Dim pna
Dim testsets As ExternalTestsets
Dim tset1 As TestsetControl
Set pna = CreateObject("AgilentPNA835x.Application")
Set testsets = pna.ExternalTestsets
Set tset1 = testsets(1)
' make COM calls on tset1 object
End Sub

See Also:

 

Methods

Interface

(See history)

Description

None

 

 

Properties

 

Description

ControlLines

ITestsetControl

Sets the control lines of the specified Test set.

Enabled

ITestsetControl

Enables and disables (ON/OFF) the port mapping and control line output of the specified test set.

ID

ITestsetControl

Returns the test set ID number.

Label

ITestsetControl

Returns the label on a given channel for the specified test set.

NumberOfPorts

ITestsetControl

Reads the number of ports that are on the specified test set.

OutputPorts

ITestsetControl

Sets or returns the port mappings for ALL ports.

PortCatalog

ITestsetControl

Returns the selections available for a given logical port.

SelectPort

ITestsetControl

Sets and returns the logical port value.

ShowProperties

ITestsetControl

Turns status bar display of test set properties on or off.

Type

ITestsetControl

Returns the test set model.

 

ExternalTestset History

Interface

Introduced with VNA Rev:

ITestsetControl

6.0