Specifications

Chapter 4: Getting Started Guide
32 APx511 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 the average of
the three levels and that is OSPL90;
Instrument Parameters
There are several functions that support the APx directly.
With these functions, the version or serial number can be
queried. Also the APx 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 AXP500 will shut down as
well..
API Help File
Refer to the HiTest_API_PRG.chm help file available via a
shortcut in the Windows 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()