Using the intrepidcs API in Delphi - intrepidcs API¶
Do the following steps to use neoVI in Borland Delphi:¶
Copy the import library
icsn40.pas
, and data structure fileicsSpyData.pas
to your project directory.Link to icsn40.pas import library via the “Add to Project…” option (Figure 1). This dialog is accessible via the “Project” pull down menu in Delphi. When the file dialog appears, select the icsn40.pas.
Your project manager will now show the import library icsn40.pas (Figure 2).
Include icsn40 and icsSpyData in your interface Uses (Figure 3).
Finally, call the methods as defined in the Basic Operation document.
Example¶
A Borland Delphi example (Figure 1) is included to show how the API all works together. The example files are included in the following file: icsnDelphiSample.zip (14kB)
The example shows how to open and close communication to the driver, send messages, and read messages on the networks.