Getting Started Guide
44 APx511 B Series Hearing Instrument Analyzer: Getting Started Guide
The value returned from the call will be a structure contain-
ing two arrays, the X array is the list of frequencies, and the
Y array is the list of levels found at each frequency. To
complete the measurement, scan through the X array to find
the index of the three HFA frequencies of 1.0K, 1.6K and
2.5K, and find the matching levels. Perform an average of
the three levels to provide OSPL90.
Instrument Parameters
There are several functions that support the APx500
directly. With these functions, the version or serial number
can be queried. Also the APx500 UI can be made visible or
hidden. The signal monitors can be turned on or off.
Closing
At the end of the application, before it exits, a call to close
the DLL should be made. If the Close function is called
with True as its argument, then the APx500 will shut down
as well..
API Help File
Refer to the HiTest_API_PRG.chm help file included in the
APxHia download and available via a shortcut in the Win-
dows Start menu.
VB.NET
' Declare a variable to hold the results
Dim ospl90 As APxHiTest.XYarrayPair
Dim path As APxHiTest.SignalPath
Dim signal As APxHiTest.SignalType
path = APxHiTest.SignalPath.Acoustic
signal = APxHiTest.SignalType.FrequencyResponse
' Call the measurement function on the Acoustic
path using Frequency Response
ospl90 =
apxHiTest.MeasureFrequencyResponseLevel(90.0,
path, signal)
C#.NET
// Hide the APx
apxHiTest.Visible = false;
VB.NET
' Make APx visible
apxHiTest.Visible = False
C#.NET
// Close the HiTest
apxHiTest.Close();
VB.NET
' Close the HiTest
apxhiTest.Close()