Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ezfit:clarujust:ezfit_optimizer_clarujust_api [2010/10/07 18:13] smayr |
ezfit:clarujust:ezfit_optimizer_clarujust_api [2010/10/12 11:25] (current) smayr |
||
---|---|---|---|
Line 1: | Line 1: | ||
== ezFIT Optimizer (for Clarujust) API == | == ezFIT Optimizer (for Clarujust) API == | ||
Following is the Application Programming Interface (API) for the ezFIT Optimizer application. | Following is the Application Programming Interface (API) for the ezFIT Optimizer application. | ||
- | === API 1.27 === | + | === API 1.28 === |
This API is based on [[ezfit: | This API is based on [[ezfit: | ||
<code delphi> | <code delphi> | ||
- | IEzFITOptimizerClarujust = interface(IDispatch) | + | |
[' | [' | ||
function SetEar(EarSideIdx: | function SetEar(EarSideIdx: | ||
Line 72: | Line 72: | ||
function GetOutputParams(BaselineIdx: | function GetOutputParams(BaselineIdx: | ||
function GetSessionRunTime: | function GetSessionRunTime: | ||
- | function ApplyOptimizations: | + | function ApplyOptimizations(WriteToCircuit: |
+ | procedure GetProductCode(out AProductCode: | ||
end; | end; | ||
</ | </ | ||
Line 562: | Line 563: | ||
Return: Output Parameters in a SafeArray format. | Return: Output Parameters in a SafeArray format. | ||
- | |||
=== GetSessionRunTime(): | === GetSessionRunTime(): | ||
Line 568: | Line 568: | ||
Return: TotalSeconds | Return: TotalSeconds | ||
+ | === GetProductCode(out AProductCode: | ||
+ | Get the globally unique product code for the specified ear side. This product code is dependent on the read instrument. | ||
+ | |||
+ | See [[ezfit: | ||
== Data Types & Ranges == | == Data Types & Ranges == | ||
Line 579: | Line 583: | ||
| 3 | Gennum DSP | Gennum DSP programmer interface. Not supported. | | | 3 | Gennum DSP | Gennum DSP programmer interface. Not supported. | | ||
| 4 | NOAHlink | | 4 | NOAHlink | ||
- | | 5 | + | | 5 |
- | | 6 | + | | 6 |
==== Ear Count ==== | ==== Ear Count ==== | ||
Line 605: | Line 609: | ||
| 2 | Closed-Simulated | | 2 | Closed-Simulated | ||
| 3 | Closed-BTE-Ear-Hook | | 3 | Closed-BTE-Ear-Hook | ||
- | |||
==== Audiogram ==== | ==== Audiogram ==== | ||
Audiogram array to pass to Optimizer ('' | Audiogram array to pass to Optimizer ('' | ||
Line 619: | Line 622: | ||
| 8 | | 8 | ||
| 9 | | 9 | ||
+ | ==== Product Codes ==== | ||
+ | |||
+ | Return values for '' | ||
+ | |||
+ | This value could be one of the following: | ||
+ | ^ Product Code ^ Product Name ^ Description | ||
+ | | prod_Flx | ||
+ | | prod_Intuition12 | ||
+ | | prod_Sparo12 | ||
+ | | prod_Loon | ||
+ | | prod_Pluros | ||