Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
5 ratings:
 3.20 out of 5   

Using LabWindows™/CVI 6.0 With IVI Compliance Package (ICP) 3.1

Primary Software:
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: N/A

How can I use the IVI Compliance Package (ICP) 3.1 with LabWindows/CVI 6.0?

You need to follow the following steps in order to compile and build IVI drivers and applications in LabWindows/CVI 6.0 with ICP 3.1 and later.
  1. Add IVI Include path to the LabWindows/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 \IVI_Directory\Include in the edit control, where IVI_Directory is the the IVI Root Directory (typically C:\Program Files\IVI).
    • Click OK.
    • Note: All projects in LabWindows/CVI should now be able to find the appropriate IVI header files.
  2. Create a New Project and Load Programmer's Toolbox
    • Create a new project
    • Load the Programmer's toolbox Instrument»Load, which is found at \MeasurementStudio\CVI\toolslib\toolbox
  3. Add import libraries
    • Note: All IVI import library (.lib) files for the MSVC and Borland compiler compatibility mode are installed under \IVI\Lib\msc and \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 option and add \IVI\Lib\msc\ivi.lib or \IVI\Lib\bc\ivi.lib as appropriate.
    • Also add ole32.lib from \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:
Interchangeable Virtual Instruments (IVI) - National Instruments


Report Date: 06/26/2007
Last Updated: 04/26/2011
Document ID: 4APBP7BH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit