Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Nivision.h

Hi,
 
I have just reformatted my  PC and I am trying to reinstall all my NI software back. I have some C program which I have written that require nivision.h. I have already installed NI VIsion 7.1 DEvelopment Module but I do not seem to get back this folder C:\Program Files\National Instruments\Vision\Include.
 
Is there any other program I would still need to install? Or is there any steps I have missed out?
 
Thanks for your help!
0 Kudos
Message 1 of 9
(7,452 Views)
Hello Water,

Thank you for contacting National Instruments.  The include folder that you are speaking of is installed normally when the Vision Development Module (VDM) is configured to install support for text-based programming languages.  Please try running the installer for VDM again, and when you get to the feature tree make sure that support for the appropriate programming language is selected for installation.  If it is and the folder is still missing, try reinstalling VDM making sure that all of the necessary components for VDM are selected in the installation tree.

Regards,

Mike T
National Instruments
0 Kudos
Message 2 of 9
(7,427 Views)
Hi,
 
I have tried to reinstall the Vision CD. HOwever, the problem still persist. I have tried to install the module by using the custom installation option and then I have tried to select the installation for Microsoft Visual C Support under NI-IMAQ and also under NI-Vision. For the NI-Vision, it does not allow me to install due to some higher version is installed while if i select the one under NI-IMAQ, it still does not install anything to it. I am still unable to find nivision.h in any of the folders
 
Attached is some screenshot of my installation
 
Thanks for your help once again!
Download All
0 Kudos
Message 3 of 9
(7,420 Views)
Good morning Water,
 
While the IMAQ driver does offer support for other programming languages like Visual C, the nivision.h file is actually part of the NI-Vision software.  You mentioned that when you attempt to install the Vision software you get a prompt that prevents you from doing so due to a "higher version."  Could you provide some more detail on this?  What version of Vision are you trying to install?  What version of Visual C do you have installed?  Does support for Visual C show up checked to install in the feature tree automatically, or you you have to select it for installation? 
 
When the Vision installer loads, it scans your machine for any software that is already present on your machine so that it can automatically select which features would best work on your machine.  As an example, having Visual C installed before running the Vision installer should automatically have support for Visual C selected for installation.  Be sure that this is occurring.  If you are getting a prompt after manually selecting to install support for Visual C, then please take a screenshot of that prompt and submit it.
 
Regards,
 
Mike T
National Instruments
0 Kudos
Message 4 of 9
(7,391 Views)
Hi,
 
Thanks for your help!
 
1) In the attachement installation3.jpg, I try to select the Microsoft Visual C Support under NI-Vision 7.1 but it seem to say that the higher version is installed. I wonder whether this mean that the module has been installed and no additional installation is required
 
2) I am trying to install NI- Vision 7.1
 
3) I am currently using Visual Studio 2005. I have installed the Visual Studio 2005 before any installation of Ni software inclusive of Labview etc
 
4) I have a screenshot of my NI software installation at MAX in installation4.jpg
 Listing the version number of my vision and image related NI software
IMAQ Vision 7.1.0
NI-IMAQ 3.0.0
NI-IMAQ for IEEE1394 1.5.2
NI-Motion 6.1.2
 
Not too sure if this is helpful though
 
5) I am thinking of uninstallation of the entire NI-software package to see if it helps to solve the problem. Do I go to the Control Panel and uninstall from there? At the control panel, only two installation of NI software under the name of "NI Instruement Software" and "NI-Labview Run-time Engine 6.1". HOw do I uninstall them? Is there way to uninstall specific modules?
 
Thanks once again
 
 
 
Download All
0 Kudos
Message 5 of 9
(7,380 Views)
Good morning Water,

This is quite strange behavior, and I am suspecting that the cause of the problem is in the installer.  I am going to look into this, and get back to you when I have more information on  installing Vision support for Visual Studio 2005.

Regards,

Mike T
National Instruments
0 Kudos
Message 6 of 9
(7,354 Views)
Hello Water,

According to the development team for the Vision driver, installing Microsoft Visual Studio .NET interoperability should install the necessary ActiveX support to work with Vision in Visual Studio 2005.  Be sure to have this option selected in the Vision installer.

Regards,

Mike T
National Instruments
0 Kudos
Message 7 of 9
(7,306 Views)

Hi,

There is no option for ActiveX component interoperability in the installation of Vision. Do you mean the installation of Visual Studio?

BTW,  is there any problem for my installation of Labview? I have previously mentioned that I could not find the installation in my Add/Remove Software  panel in Window's Control Panel? Is this normal? I do not have problem using the software though.

 

THanks for your help!

0 Kudos
Message 8 of 9
(7,297 Views)
Hello Water,

You are correct about installing Visual Studio .NET interoperability for Vision.  I apologize for the confusion.

To answer your question about the LabVIEW installation, there should be a listing in Add/Remove Programs called National Instruments Software.  If you click on it once, and then select "Change,"  a dialog should come up listing all National Instruments software that is installed on your machine.  Here you should be able to find all of the installations of LabVIEW.

Regards,

Mike T
National Instruments
0 Kudos
Message 9 of 9
(7,271 Views)