06-04-2013 04:19 AM
Hello everybody,
I'm beginning with image aquisition in LabView and I have a few problems
I'm working with LabView 8.5.1 and I want to connect and get images from a SU320MS-1.7RT Goodrich camera (PCI/PXI-1422). When I try to get images from the camera with MAX or with the software given by Goodrich (in a LabView style), everything is ok.
But, the problem begins when I want to open a LabView exemple code, once again included in the Goodrich camera files. In fact, it loads everything it needs but it tells me that some VIs are missing ... Here is the list of missing VIs : IMAQ Stop.vi, IMAQ Set Camera Attribute.vi, IMAQ Get Camera Attribute.vi, IMAQ Grab Acquire.vi, IMAQ Grab Setup.vi, IMAQ Snap.vi, IMAQ Close.vi and IMAQ Init.vi. As i'm not working on my computer, I thought that a folder containing these VIs must have been moved and that's why LabView can't find them. So I tried to find them manually but it was unsuccessful.
I also tried to uninstall/re-install IMAQ but nothing changes. I came on Goodrich's website but it seems not to be informations about that ...
So, what I want to know is if I'm doing it wrong ? I think that if I'm able to make the camera work with MAX, I should be able to make it work with LabView.
I wish I was clear in my explanations and that my english was not so bad. Thanks for help
06-04-2013 08:37 AM - edited 06-04-2013 08:45 AM
@bidou2002 wrote:
Hello everybody,
I'm beginning with image aquisition in LabView and I have a few problems
I'm working with LabView 8.5.1 and I want to connect and get images from a SU320MS-1.7RT Goodrich camera (PCI/PXI-1422). When I try to get images from the camera with MAX or with the software given by Goodrich (in a LabView style), everything is ok.
But, the problem begins when I want to open a LabView exemple code, once again included in the Goodrich camera files. In fact, it loads everything it needs but it tells me that some VIs are missing ... Here is the list of missing VIs : IMAQ Stop.vi, IMAQ Set Camera Attribute.vi, IMAQ Get Camera Attribute.vi, IMAQ Grab Acquire.vi, IMAQ Grab Setup.vi, IMAQ Snap.vi, IMAQ Close.vi and IMAQ Init.vi. As i'm not working on my computer, I thought that a folder containing these VIs must have been moved and that's why LabView can't find them. So I tried to find them manually but it was unsuccessful.
I also tried to uninstall/re-install IMAQ but nothing changes. I came on Goodrich's website but it seems not to be informations about that ...
So, what I want to know is if I'm doing it wrong ? I think that if I'm able to make the camera work with MAX, I should be able to make it work with LabView.
I wish I was clear in my explanations and that my english was not so bad. Thanks for help
Did you load Labview drivers? IMAQ driver must be missing , while installing labview drivers did you selected imaq drivers too?
06-04-2013 09:06 AM
Thanks for your answer AnkitG,
LabView was already installed when I took the computer. I'm not sure of what you mean by "install IMAQ drivers" but I took the file VisionAcq800.zip on the NI website, I uninstalled IMAQ 3.5.1 and then re-installed with the executable given in what I downloaded.
A little precision : by opening the software of my camera with LabView, it gives me a list of a sereval VIs and I can see in this list the VIs I'm looking for. So I tried to copy them somewhere else but I didn't succeed, and I also tried to open them, but nothing happens ...
06-04-2013 09:21 AM
@bidou2002 wrote:
Thanks for your answer AnkitG,
LabView was already installed when I took the computer. I'm not sure of what you mean by "install IMAQ drivers" but I took the file VisionAcq800.zip on the NI website, I uninstalled IMAQ 3.5.1 and then re-installed with the executable given in what I downloaded.
A little precision : by opening the software of my camera with LabView, it gives me a list of a sereval VIs and I can see in this list the VIs I'm looking for. So I tried to copy them somewhere else but I didn't succeed, and I also tried to open them, but nothing happens ...
Can you look in to your computer C: program Files/national instrument/labview/vi.lib/driver and locate imaqll.llb or imaqdx llb if they are not there it means ur imaq drivers are missing or not installed properly
06-04-2013 10:07 AM
It seems like I don't have a folder called "driver" ... I re-re-re-did the installation with the CD given by National Instruments but nothing better.
06-04-2013 10:36 AM
Sounds like you might have a Bad Installation. Before trying the Cure (which is to Uninstall LabVIEW, which gets rid of all, compatible and incompatible versions, and reinstalling the full version you want to use), see if you can do a "first install" on another PC that does not have LabVIEW on it. [You can do the uninstall afterwards to clean up after yourself]. This will give you a clean platform that should have everything you need -- if not, you'll be in a better position to really know what is missing. [It is difficult to tell the difference between "The Software is not Installed" and "The wrong version of the Software is installed"].
BS
06-04-2013 11:20 AM - edited 06-04-2013 11:21 AM
You might also wanna look at these links:
http://digital.ni.com/public.nsf/allkb/B23E67C08CBD161886256F82007D58D8?OpenDocument
http://digital.ni.com/public.nsf/allkb/DB928F6D5E9D6B97862579A7006B2850
06-06-2013 05:04 AM
Thank you for all your answers. I think I solved my problem Not quite but it's a good beginning.
The version of IMAQ I need to have to make my camera works is not supported by my version of LabView ... So in one hand I need this version for my camera (to make it recognized by MAX by example), and in the other hand I need an other version of IMAQ for LabView to be happy ...
So I don't know what to do now ... I also tried to copy the VIs I wanted, then install the version that makes my camera work and then when LabView asked me the missing VIs, gave him the ones I copied. But it was not a success ...
So I don't know if I'm doing it right because I'm novice, but it seems to be very hard ...
06-06-2013 07:15 AM - edited 06-06-2013 07:17 AM
@bidou2002 wrote:
Thank you for all your answers. I think I solved my problem
Not quite but it's a good beginning.
The version of IMAQ I need to have to make my camera works is not supported by my version of LabView ... So in one hand I need this version for my camera (to make it recognized by MAX by example), and in the other hand I need an other version of IMAQ for LabView to be happy ...
So I don't know what to do now ... I also tried to copy the VIs I wanted, then install the version that makes my camera work and then when LabView asked me the missing VIs, gave him the ones I copied. But it was not a success ...
So I don't know if I'm doing it right because I'm novice, but it seems to be very hard ...
So As I understand correct , you were not able to replace the missing vi with IMAQ lib version supported by labview, what error did you get? can you upload a snapshot or vi?
also can you ask the vendor tech support if they can give you upated camera program supported by the newer version of labview or atleast your version of labview and IMAQ?
06-07-2013 06:41 AM
Thank you all for your answers.
I solved my problem by reinstalling the whole LabView ! In fact, replacing piece by piece what was missing was not a good idea. Furthermore, I think I had installed a non compatible version of IMAQ.
So, I'm very happy and now let's work !