4-20
Remote Control
Reading the Measurement Results
In order to extract a single value from the results database it is necessary to
know the name of the value. These names are listed in
.
Typically, the user is interested in the results of a run or measurement. This
data is located by first finding the appropriate ReportID number correspond-
ing to the desired run number, as demonstrated in the example code. Once the
ReportID number is known, the final results data, as seen on the data review
screen of the system GUI, is found in the
Test_CD
section of the database that
has the
TestID
number 15. Since it may be useful to look at the raw data, uncor-
rected for calibration, this is found in the
Test_Gain_Phase
section that has the
TestID
number 42. In addition to the final results of a measurement, all of the
pertinent parameters used to generate that result are also stored in the
results.mdb
database.
The ByteArrayToVariant subroutine
Private Function ByteArrayToVariant(ByRef btByteArray() As Byte) As Variant
'
' Purpose: The data has
' to be assigned to variable length byte array first, and then converted
' to variant via binary file operation.
'
Dim sTempFilename As String
Dim iTempFileNum As Integer
Dim avParm As Variant
'
iTempFileNum = FreeFile
sTempFilename = App.Path & "\TEMP.BIN"
'
If dir(sTempFilename) <> "" Then Kill sTempFilename
Open sTempFilename For Binary As #iTempFileNum
Put #iTempFileNum, , btByteArray
Get #iTempFileNum, 1, avParm
Close #iTempFileNum
Kill sTempFilename
'
ByteArrayToVariant = avParm
End Function
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 ...