# Using the neoVI API in LabWindows CVI - neoVI API

### Do the following steps to use neoVI in LabWindows CVI:

1. Copy the import library [`icsnLW40.lib`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/d1f3dcbcba178345f051f879ec480914/icsnLW40.lib) , header file [`icsnLW40.h`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/598f143f1f75ef5ae5fd00ca8a90b941/icsnLW40.h) , and data structure file [`icsspyData.h`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/992e8da1b2d36ae30971680acb37b1e1/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”](https://240838104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FabyA6gDDBQ0CNbxlveQb%2Fuploads%2Fgit-blob-ae1242e8f4b238c3f8a21750c28b990eedc9c3f9%2Flwinaddlib.gif?alt=media)

![Figure 2 - The project window with the library added.](https://240838104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FabyA6gDDBQ0CNbxlveQb%2Fuploads%2Fgit-blob-84a92bae42fcfa443340e7e826b3374eac8e1cd1%2Flwproj.gif?alt=media)

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

![Figure 3 - The #include statement in the C module.](https://240838104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FabyA6gDDBQ0CNbxlveQb%2Fuploads%2Fgit-blob-d3a8078767b1eba82ec7166e750c651c3e4adeaa%2Flwinclude.gif?alt=media)

4\. Finally, call the methods as defined in the [Basic Operation](https://docs.intrepidcs.com/neovi-api/basic-operation-intrepidcs-api) 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)`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/66b9855e6b7dfff4916460ef94d96e89/LWneoVI.zip)

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.](https://240838104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FabyA6gDDBQ0CNbxlveQb%2Fuploads%2Fgit-blob-6e8913b5295667dfb180159dc188a455738174b7%2Flwinex.gif?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intrepidcs.com/neovi-api/basic-operation-intrepidcs-api/using-the-intrepidcs-api-in-labwindows-cvi-intrepidcs-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
