4-6
Remote Control
Setting up a Measurement
When the test parameter editor is started, the first action is to login to the
TESServer.dll
:
‘First create an instance of the TESManager
Set TESMngr = New TESManager
'Open the TESManager session
TESMngr.OpenSession
If the
TESServer.dll
is not found, check that it is registered under the
“project\references” menu in the Visual Basic IDE. Once located, the user
must log in with a user ID appropriate for editing the test parameter database
as shown below:
‘Hardcoded userID and password for editing test parameters:
TESMngr.Controller.ShellConfig.sCommandOpts = "-userid editor -passwd parm"
This starts the TESServer in a mode useful for editing the test parameters of
the
Testparm.mdb
database. The database may be located anywhere on the net-
work as long as its location is shown by the path in the
tes.ini
file. Once the
user is logged into the
TESServer.dll
the test parameters may be edited. Typi-
cally the parameters are not dealt with individually. The test parameters are
returned as a collection of variables, one collection for each level in the test
executive.
The following
“Example for obtaining collections for a given test group” on
has the main statement:
m_oController.LoadParms "", "", "", ""
In order for this statement to succeed, the following lines first build a collec-
tion of the particular tests of interest in the test group of interest:
Set m_colTestsToRun = Nothing
Set m_colTestsToRun = New Collection
add_test "Test_Gain_Phase"
add_test "Test_Length"
In essence,
add_test
reads information about the test from the parameter data-
base and places several pieces of that information in a structure that is
included in the “m_colTestsToRun” collection. The
LoadParms
method then
causes several parameter collections to be populated: the collection of system
level parameters, the test plan level parameters, the test group level parame-
ters as well as the parameter collections for the individual tests. The first
three levels of parameter collections are standard Visual Basic collections and
the individual parameters may be accessed as described below. The parameter
collections at the test level are not Visual Basic collections, but are TEScollec-
tions. These are much like Visual Basic collections but are within a wrapper
Содержание 86037B
Страница 1: ...User s Guide HP 86037B Chromatic Dispersion Test System ...
Страница 31: ...2 13 Operation The Main Window Figure 2 4 Repeat Measurement Selector ...
Страница 72: ...3 16 Normalization Setting Normalization Preferences ...
Страница 94: ...4 22 Remote Control TES Parameters Main chromatic dispersion screen ...
Страница 100: ...4 28 Remote Control TES Parameters CD and Gain Measurement Settings Dialog Box ...
Страница 102: ...4 30 Remote Control TES Parameters Length Measurement Settings Dialog Box ...
Страница 104: ...4 32 Remote Control TES Parameters Normalization Settings Dialog Box ...
Страница 106: ...4 34 Remote Control TES Parameters New Normalization Button Dialog Box ...
Страница 120: ...4 48 Remote Control Output Parameters ...
Страница 158: ...5 38 Maintenance Hewlett Packard Sales and Service Offices ...
Страница 165: ...6 7 Installation Installation 2 3 4 5 1 8 7 Fan Pack 6 6 Power Distribution Assembly 1 7 Power Distribution Assembly 2 ...
Страница 170: ...6 12 Installation Installation ...
Страница 174: ...7 4 Reference Theory of Operation Figure 7 3 HP 86037B Block Diagram Options 121 and 122 ...
Страница 175: ...7 5 Reference Theory of Operation Figure 7 4 The HP 86037B Option 114 block diagram ...
Страница 190: ...7 20 Reference System Options ...
Страница 191: ...8 Specifications 8 3 Regulatory Information 8 7 Specifications and Regulatory Information ...
Страница 198: ...8 8 Specifications and Regulatory Information Regulatory Information Declaration of Conformity ...
Страница 204: ...Index 6 Index ...