Creating an Application with LabWindows™/CVI™
- Updated2025-12-08
- 1 minute(s) read
To begin programming an NI-SCOPE application with LabWindows/CVI, complete the following steps:
- Launch LabWindows/CVI.
- Open an existing or new source file (.c).
- Include the NI-SCOPE header file, niscope.h, in your source code files (#include "niscope.h").
- Go to Instrument»Load, and select niscope.fp. You can find the installed location of this file in the NI-SCOPE Readme.
- Add the source file to the project.
- Build your application using the appropriate programming flow steps.
LabWindows/CVI Examples
Open the project file for the example you want to run. You can find shortcuts to the project files at Start»All Programs»National Instruments»NI-SCOPE»Examples. The source code for these examples is heavily documented, and all input and output values are documented to facilitate changing the code to perform different acquisitions. Each example also has a Readme file that provides an overall description of the example.
To find documentation for functions used in the examples, complete the following steps:
- Double-click niScope.fp.
- Select the function or function class you need more information about.
- Click Help.
NI Example Finder
LabWindows/CVI 7.0 or later users can use the NI Example Finder to search or browse examples. NI-SCOPE examples are classified by keyword, so you can search for a particular device or measurement function. To browse for NI-SCOPE examples, launch LabWindows/CVI, select Help»Find Examples, then navigate to Hardware Input and Output»Modular Instruments» NI-SCOPE (High-Speed Digitizers).