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.
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.
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
Methods |
Interface |
Description |
---|---|---|
None |
|
|
Properties |
|
Description |
ITestsetControl |
Sets the control lines of the specified Test set. |
|
ITestsetControl |
Enables and disables (ON/OFF) the port mapping and control line output of the specified test set. |
|
ITestsetControl |
Returns the test set ID number. |
|
ITestsetControl |
Returns the label on a given channel for the specified test set. |
|
ITestsetControl |
Reads the number of ports that are on the specified test set. |
|
ITestsetControl |
Sets or returns the port mappings for ALL ports. |
|
ITestsetControl |
Returns the selections available for a given logical port. |
|
ITestsetControl |
Sets and returns the logical port value. |
|
ITestsetControl |
Turns status bar display of test set properties on or off. |
|
ITestsetControl |
Returns the test set model. |
Interface |
Introduced with VNA Rev: |
ITestsetControl |
6.0 |