LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ivi.h not found in CVI 7.0

Hi,
I have a project which creates dll and this project works fine in CVI 6.0.
When I opened this project in CVI 7.0 I got ivi.h not found error.

Here is my file.
//////////////FILENAME.h////////////////////////////////
#include "cvidef.h"
#include "ivi.h"


int _VI_FUNC CALL_PETS (int number, int *data);
////////////////END OF FILE/////////////////////////////

Why is this happening?
What is the best way to fix this issue so that it will work in CVI 6.0 and 7.0?

Thanks for your help.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 1 of 4
(6,626 Views)
The IVI engine is installed from the Driver CD that comes with your CVI 7.0 package. Even though the two installers are linked, you can still run the installer from the Driver CD by itself. Just make sure that the "IVI Compliance Package" feature is selected.

Luis
NI
0 Kudos
Message 2 of 4
(6,620 Views)
Luis,
Thanks for your reply. So is this mean that I have to install driver cd when I install CVI 7? I did not install this CD when I was using CVI 6.
I guess I am still confused.
Can I just copy ivi.h file?
Thanks.
Sheetal
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 3 of 4
(6,604 Views)
That is correct, you do need to run the installer from the Driver CD, if you are planning on using drivers (such as IVI). In CVI 6.0, IVI (and a few other things) was included in the main CVI installer.

You cannot just copy ivi.h, becuase you also need the library (ivi.lib) and a few other things required to create instrument drivers.

Luis
0 Kudos
Message 4 of 4
(6,600 Views)