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
Содержание 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 ...