Using the intrepidcs API in LabWindows CVI - intrepidcs API
Setup - Example

Do the following steps to use neoVI in LabWindows CVI:

1) Copy the import library "icsnLW40.lib", header file "icsnLW40.h", and data structure file "icsspyData.h" to your project directory.

2) Link to icsnLW40.lib import library by selecting Add Files To Project from the Edit pull down menu. In the "Add Files To Project" dialog select the icsnLW40.lib file (figure 1). You can also the headers from step 1 if you wish. Your project should now list the files you added (figure 2).


Figure 1 - Link to the "icsnLW40.lib"


Figure 2 - The project window with the library added.

3) Include the header icsnLW40.h in your C module (Figure 3).


Figure 3 - The #include statement in the C module.

4) Finally, call the methods as defined in the Basic Operation document.

 

Example
A National Instruments LabWindows example (Figure 1) is included to show how the API all works together.  The example files are included in the following file: LWneoVI.zip (10kB)

The example shows how to open and close communication to the driver, send messages and read messages on the networks.


Figure 4 - The LabWindows CVI Example.

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

Last Updated : Thursday, December 23, 2010