Using the intrepidcs API in LabWindows CVI - intrepidcs API¶
Do the following steps to use neoVI in LabWindows CVI:¶
Copy the import library
icsnLW40.lib
, header fileicsnLW40.h
, and data structure fileicsspyData.h
to your project directory.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).
Include the header icsnLW40.h in your C module (Figure 3).
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.