DLL Generation
ezRhythm
DLL Installation
C:\Program Files\Common Files\Audina\Drivers
(or alternatively to C:\WINDOWS\ARK
).Integrating New Product to ezArkBase
lbVenture = 'EzVENTURE';
), and Product ID alias (eg: id_Venture = 50;
).Creating New Product Frontend
This is what you need to create a basic program using the ARK components. The program will allow you to:
For example code see the attached project. link
Required Components
TEzARKBase TEzARKSource TChart TEzARKGraph TEzARKTrackBar TLabel
Properties required to be set
TEzARKBase
Note: ProgrammerName, LibraryName and ProductName may also be set at runtime by using a TEzARKLookup with the LookupType property set to its respective type.
TEzARKSource
TChart
Text | X | Y |
---|---|---|
250 | 0.25 | -10 |
500 | 0.5 | -10 |
1k | 1 | -10 |
2k | 2 | -10 |
4k | 4 | -10 |
6k | 6 | -10 |
8k | 8 | -10 |
TEzARKGraph
0.250=250 |
0.500=500 |
1.00=1k |
2.00=2k |
4.00=4k |
6.00=6k |
8.00=8k |
TEzARKTrackBar
Code Snippets
Create a 'Read' button to read the instrument’s memory and initialize your controls.
with Base do begin Open(Application.Handle); WhichChip; Init; ReadAll; GetStoredAudiogram; SetAudiogram(StoredAudiogram); Refresh; end;
Create a 'Write' button to write the new parameters to the instrument's permanent memory.
Base.Write;
You can use the form's OnClose event to disconnect from the instrument.
Base.Close;