Writing a Client Program
- Updated2023-02-21
- 1 minute(s) read
When you install Vision Development module, the nivision.h, NIIMAQdx.h, and nivisionutility.h headers become available. Any client program that invokes APIs from Vision Development Module requires the nivision.h header. Any client program that invokes APIs from Vision Acquisition Software requires the NIIMAQdx.h header.
The nivision.h header includes the following:
- CVI function declaration (Import functions)
- Forward structure declaration
- Structure definition
- Enumeration definition
- Intrinsic data type declaration
- Error codes
Build the project and transfer any executable and dependent images to the RT target.
Importing Existing Projects
You can use the Import Wizard to import an existing project into the workspace.
- From the main menu bar, select File»Import... to open the Import Wizard.
- Select General»Existing Projects into Workspace and click Next.
- Choose either Select root directory or Select archive file and click Browse.
- Under Projects, select the project or projects to import.
- Click Finish to start the import.
Example Client Programs
Example client programs can be found at the following locations:
- Vision Development Module—<National Instruments>\Vision\Examples\Eclipse\Battery Clamp Inspection
- Vision Acquisition Software—C:\Users\Public\Documents\National Instruments\NI-IMAQdx\Examples\Eclipse\Image Acquisition
After writing a client program, you can begin configuring a remote system.