Using LabWindows/CVI 6.0 With ICP 3.1
Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 6.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem: How can I use ICP 3.1 with LabWindows/CVI 6.0?
Solution: You need to follow the below steps in-order to be able to compile and build IVI drivers and applications in LabWindows/CVI 6.0 with ICP 3.1 and later.
- Add IVI Include path to the CVI environment
- Select the Options >> Include Paths… menu item
- Click the Switch Lists (F6) button to switch to the Applied to All Projects list
- Click the ‘Add…’ button and type in C:\Program Files\IVI\Include in the edit control, where C:\Program File\IVI is the default value of the IVI Standard Root Directory.
- Click ‘OK’.
- NOTE: All projects in CVI should now be able to find the appropriate IVI header files.
- Create a New Project and Load Programmer's Toolbox
- Create a new project
- Load the Programmer's toolbox Instrument>>Load, which is found at C:\Program Files\National Instruments\MeasurementStudio\CVI\toolslib\toolbox
- Add import libraries
- NOTE: All IVI import library (.lib) files for the MSVC and Borland compiler compatibility mode are installed under C:\Program Files\IVI\Lib\msc and C:\Program Files\IVI\Lib\bc respectively.
- If you are building an IVI specific driver, an IVI class driver, or any other application or library that uses one or more IVI Library (IVI Engine) functions, add the file ‘ivi.lib’ to your project. To do this, select the Edit >> Add Files To Project… >> Library (*.lib) menu options and add C:\Program Files\IVI\Lib\msc\ivi.lib or C:\Program Files\IVI\Lib\bc\ivi.lib as appropriate.
- Also add ole32.lib from C:\Program Files\National Instruments\MeasurementStudio\ CVI\sdk\lib
- If you are building an application that uses one or more IVI class drivers, add the appropriate class driver import library (ividmm.lib etc.) to your project.
Related Links: Support: IVI
Attachments:
Report Date: 06/26/2007
Last Updated: 08/10/2007
Document ID: 4APBP7BH