4-18
Remote Control
Reading the Measurement Results
where
rsReportID
will contain all of the rows of the first table
DUTInfo
which con-
tain information about all of the runs where the Test Group name is
“New_Calibration” and the test result is “PASSED”. Looping through all the
members of the recordset one then extracts all of the TestIDs related to those
members.
With rsReportID
While Not .EOF
sql_command = "SELECT lTestID FROM TestInfo WHERE lReportID = “ & !lReportID & _
" AND sTestName = 'Cal_Gain_Phase' ORDER BY lTestID;"
Set rsTestID_gain_phase = dbResults.OpenRecordset(sql_command, dbOpenDynaset)
While Not rsTestID_gain_phase.EOF
sql_command = "SELECT * FROM Parameter WHERE lReportID = " & _
!lReportID & “ AND lTestID = “ & rsTestID_gain_phase
!lTestID_cal_gain_phase
Set rsParam_cal_gain_phase =
dbResults.OpenRecordset(sql_command,dbOpenDynaset)
This code results in a recordset containing all the rows of the table containing
data related to the “Cal_Gain_Phase” test in a run of the “New_Calibration”
test group which passed. (Data from other such successful tests can be found
by looping through the rsReportID recordset.) Now that the desired informa-
tion is in a recordset, an individual datum can be retrieved.
range = GetParm(rsParam_cal_processing, "Range")
The code above gets the value of the variable “range” from the first (and only)
row of the recordset
rsParam_cal_gain_phase
that contains the result data for
“range”.
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 ...