Using the intrepidcs API in Delphi - intrepidcs API
Setup - Example

Do the following steps to use neoVI in Borland Delphi:

1) Copy the import library "icsn40.pas", and data structure file "icsSpyData.pas" to your project directory.

2) 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.


Figure 1 - Add the Link to the "icsn40.pas"

 

3) Your project manager will now show the import library icsn40.pas (Figure 2).


Figure 2 - The import library "icsn40.pas" is loaded.

3) Include icsn40 and icsSpyData in your interface Uses (Figure 3).


Figure 3 - Adding to Interface Uses

5) 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.


Figure 4 - The Borland Delphi Example.

IntrepidCS API Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc.  (www.intrepidcs.com)

Last Updated : Thursday, December 23, 2010