10-22-2013 05:57 AM
Hi,
I am a new bibe to Labwindows/CVI and Ni Vision.
I am struck with the issue ,Kindly help me in resolving.
I have installed LabWindows/CVI demo version and Vision Acquisition Software on my system.
With the Vision Acquisition Software installation i have got files which is required for my project.
I have a LabWindows/CVI project (FindTabDLL.prj) which have
Under source files
FindTab.c
Under Include Files
FindTab.h
Under Instrumentation Files
cvixml.fp
inifile.fp
toolbox.fp
I have included Include path for the project by right clicking on project->Edit Project->Click on Include Path->Added include path for NIVision.h and NIImaqdx.h
The Actual problem comes here,
When i build the project i have the following error popping up,
"The following include statements are needed in FindTab.c #include "nivision.h" Do you want to add them to the top of the file Yes NO Cancel"
What might be the problem,i have included the #include headers also ,even then building the project gives me same error.
I am attaching the .doc which shows errors i am facing.
Thanks in advance,
vinayasheela
10-23-2013 12:54 AM
Hi,
This message is letting you know that the line of code:
#include "nivision.h"
must be at the top of the Source file FindTab.c before your first code but after your commented header. Including the file in the project does not include header file in the source code. Clicking yes on the error dialog should automatically add this line of code to your source file.
10-23-2013 05:23 AM
Hi,
Thank you for the quick reply.
Yes,I tried that before writing to the forum.
FindTab.h has #include "nivision.h"
FindTab.c includes "FindTab.h" i.e. it indirectly adds # include "nivision.h"
even then it pops up with the error dialog.
Have a look at the attached errors.
Thanks and Regards,
vinayasheela
10-30-2013 08:19 AM
Can anybody Help???
Does it requires nivision.dll to get compiled...As i have installed demo version of vision acquisition software i got nivisionH.dll but no where in my system i have nivision.dll.To get this do we need to have licenced version.
Thanks
vinayasheela