Using the Single File Code Samples
The single file code samples consist of various files that illustrate how to work with different parts of CVL. All of the sample code files use the same framework. That is, the code in each sample file is defined as the function cfSampleMain(). The wrapper file cvlmain.cpp sets up the frame grabber hardware, then calls cfSampleMain(). Thus, each individual sample is built in a project containing exactly two source files: cvlmain.cpp, and one of the sample code files listed in the Getting Started manual.
The wrapper file cvlmain.cpp is part of a VIsual C++ project that builds applications for MVS-8000 frame grabbers. The projects are described in the table below:
|
Directory in %VISION_ROOT%\sample\cvl |
Start by opening |
|
cvlproj11 |
Project file cvlproj11.vcxproj in Visual C++ .NET 2012 |
|
cvlproj12 |
Project file cvlproj12.vcxproj in Visual C++ .NET 2013 |
|
cvlproj14 |
Project file cvlproj14.vcxproj in Visual C++ .NET 2015 |