HP 86037B Instruction Manual page 84

Chromatic dispersion test system
Table of Contents

Advertisement

Remote Control
Setting up a Measurement
Save the test parameters
When editing is complete, any changes need to be written to the parameter
database. The subroutine StoreLevelParms requires that the first parameter be a
collection and the second be an integer corresponding to the level in the test
plan hierarchy. Since the parameter collection for the Test level is a TEScol-
lection, rather than a standard Visual Basic collection, you must apply the
"Items" method or use the method: TESMngr.ParmMngr.LoadTestParms as done in
the example file in order to extract the underlying collection from within the
TEScollection.
Table 4-1. Integer Parameter Definitions for StoreLevelParms
Test Plan Hierarchy Level
System level
Test Plan
Test Group
Test level
Example code for writing database parameters
Public Sub save_parm_values()
'
' Purpose: Returns parameters to the database.
'
With TESMngr.ParmMngr
With TESMngr.Controller
.ActiveTestPlan = sActiveTestPlan
.ActiveTestGroup = sActiveTestGroup
End With
.StoreLevelParms colSystemParms, 3
.StoreLevelParms colTestPlanParms, 2
.StoreLevelParms colTestGroupParms, 1
.StoreLevelParms colTestParms, 0
End With
End Sub
4-12
Integer
3
2
1
0

Advertisement

Table of Contents
loading

Table of Contents