4-8
Remote Control
Setting up a Measurement
The add_test subroutine
Public Sub add_test(str, Optional bReport = False)
'
' Purpose: Adds the test name to the collection of tests to be run.
' Used when getting TES parameter collections.
'
Dim sTestName As Variant
Dim rsTestTable As Recordset
Dim oTest As TestObjDataType
With TESMngr.ParmMngr
sTestName = str
If .GetTestRecord(sTestName, rsTestTable, True) Then
Set oTest = New TestObjDataType
oTest.sTestName = rsTestTable!sTestName
oTest.lTestID = rsTestTable!lTestID
oTest.sReference = rsTestTable!sReference
oTest.iIndex = 1
oTest.bTestEnabled = True
oTest.bReportEnabled = bReport
oTest.sDescription = rsTestTable!sDescription
m_colTestsToRun.Add Item:=oTest, Key:=oTest.sTestName
Set oTest = Nothing
End If
If m_colTestsToRun.count > 0 Then
.GetTestSeqOptions m_sActiveTestPlan, m_sActiveTestGroup, _
m_colTestsToRun
End If
End With
End Sub
The setup_testplan subroutine
Private Sub setup_testplan()
'
' Purpose: Tells the test executive (TES) the active test plan and group.
' used in connection with extracting parameter collections
' and executing test plans.
'
With TESMngr.Controller' The following lines refer back to the TES Manager object
.ActiveTestPlan = m_sActiveTestPlan
.ActiveTestGroup = m_sActiveTestGroup
Set .TestsToRun = m_colTestsToRun
.SerialNumber = ""
.TestPlanNotes = ""
Set .Devices = TESMngr.InstMngr.Devices
End With
End Sub
Summary of Contents for 86037B
Page 1: ...User s Guide HP 86037B Chromatic Dispersion Test System ...
Page 31: ...2 13 Operation The Main Window Figure 2 4 Repeat Measurement Selector ...
Page 72: ...3 16 Normalization Setting Normalization Preferences ...
Page 94: ...4 22 Remote Control TES Parameters Main chromatic dispersion screen ...
Page 100: ...4 28 Remote Control TES Parameters CD and Gain Measurement Settings Dialog Box ...
Page 102: ...4 30 Remote Control TES Parameters Length Measurement Settings Dialog Box ...
Page 104: ...4 32 Remote Control TES Parameters Normalization Settings Dialog Box ...
Page 106: ...4 34 Remote Control TES Parameters New Normalization Button Dialog Box ...
Page 120: ...4 48 Remote Control Output Parameters ...
Page 158: ...5 38 Maintenance Hewlett Packard Sales and Service Offices ...
Page 170: ...6 12 Installation Installation ...
Page 174: ...7 4 Reference Theory of Operation Figure 7 3 HP 86037B Block Diagram Options 121 and 122 ...
Page 175: ...7 5 Reference Theory of Operation Figure 7 4 The HP 86037B Option 114 block diagram ...
Page 190: ...7 20 Reference System Options ...
Page 191: ...8 Specifications 8 3 Regulatory Information 8 7 Specifications and Regulatory Information ...
Page 204: ...Index 6 Index ...