Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Write PNG file.vi missing

Hi all,

When upgrading from 7.1 to 8.0 a VI that my program needs (IMAQ Write PNG file.vi) seems to have disappeared.
My old install had Labview 7.1 with NI-IMAQ 2.6.3 and Vision 7.0 for Labview. 'IMAQ Write PNG file.vi' was one of the vi's available in 'Ni Measurement -> Vision->vision Utilities->files'
The file was in Labview\vi.lib\vision\files.lib

My new install is Labview 8.0 with NI-IMAQ 3.5 and Vision 7.1.1
The vi is not there and Vision utilities does not exist! (There is only Image acquisition & motion  in the Measurement I/O menu.)
Now there is no Labview\vi.lib\vision\files.lib at all never mind the vi!


Where has the vi gone?

Cheers,

Gregory Moss

0 Kudos
Message 1 of 10
(5,429 Views)
Hi,

IMAQ 3.5.1 offers support for LV8.
In your case, the following KB will help:
http://digital.ni.com/public.nsf/websearch/25FD880AC87C4DA6862570B30056C572?OpenDocument

Best regards,
ThSa
0 Kudos
Message 2 of 10
(5,416 Views)
Thanks for you response.

I tried following procedure 1 on the KB artcile that you suggested. However, when I tried to modify the Vision installation (Under "IMAQ Vision 7.1.1" expand "LabVIEW Support") it says that there is a more up to date version already installed (odd seeing as it is the same CD as before). Then when I try to run VisUtil.exe given in the KB article it tells me that Vision support for Labview 8 is required (and gives me instructions which are identical to the ones in the KB aticle to add it - obviously I get the same 'already installed' response).

I uninstalled Vision and reinstalled it and I still have the same problem.

Any thoughts?

Greg
0 Kudos
Message 3 of 10
(5,409 Views)
This does not sound good at all.
Either you have tried to copy something manually or there is a corrupt installation / windows registry.
I would suggest, to reinstall LV 8, Vision and to clean the windows registry from NI before.

ThSa
0 Kudos
Message 4 of 10
(5,410 Views)
I'll give it a go tomorrow,

I had not tried to copy manually but I have now (just files.lib from an old PC) and it does work (although this isn't really a solution as while my program did work I still don't have access to all the other Vision manipulation VIs so I'm removing it again).


Cheers,

Greg
0 Kudos
Message 5 of 10
(5,404 Views)
I've completely removed Vision 7.1.1 then Labview 8. then I reinstalled Labview 8 and Vision 7.1.1. I get the same problem - Vision says it has support for the latest Labview (8) but Labview can't see the VIs and the VisUtil.exe also claims that Laview 8 support is missing and refuses to go any further.

What can I do?

Greg
0 Kudos
Message 6 of 10
(5,380 Views)

Greg,

You mentioned that you were installing NI-IMAQ 3.5 and ThSA replied that NI-IMAQ 3.5.1 supports LV8.  Are you installing NI-IMAQ 3.5 or 3.5.1?

Regards,

Ryan F.

0 Kudos
Message 7 of 10
(5,374 Views)
NI-IMAQ is version 3.5.0. But surely we wouldn't get sent software that is incompatible?

Greg
0 Kudos
Message 8 of 10
(5,370 Views)

Hey Greg,

Looking at your problem again, it seems to be limited to an incompatibility with Vision 7.1.1 and LV8.  The fact that you have image acquisition functionality narrows it down to a problem Vision and your NI-IMAQ should be fine.  If you would still like to get the newest version of NI-IMAQ, it can be downloaded and used freely. 

http://digital.ni.com/softlib.nsf/websearch/34E35376A052690E862570F9005349A3?opendocument&node=132060_US 

As to the Vision 7.1.1 incompatibility with LV8, I found the following thread and possible workaround.  This issue seems to exhibit the behavior you are seeing and is linked to an invalid installer directory. 

https://forums.ni.com/t5/LabVIEW/LV-8-und-Vision-7-1-1/m-p/288589?requireLogin=False

workaraound: Manually copy all files in C:\Program Files\National Instruments\LabVIEW 8.0\menus\default\vision to C:\Program Files\National Instruments\LabVIEW 8.0\menus\Categories\VisionMotion and move VisionControlsMNU.DLL and VisionControls.mnu to C:\Program Files\National Instruments\LabVIEW 8.0\menus\Controls.

Let me know if this applies and helps fix your issue.

Regards,

Ryan F.

 
Message 9 of 10
(5,360 Views)
Hi again,

I installed IMAQ 3.5.1 though that didn't seem to make any difference (apart from the version number going up a bit 🙂 ).

I followed your workaround (NB for anyone else reading this I had to get the files from a 7.1 installation on a different computer - I assume that was just a typo) and it works!

My program works fine and I can see all of the Vision Utilities VIs that I may want to use.

Success!

Thanks for your help Ryan F and ThSa!
0 Kudos
Message 10 of 10
(5,349 Views)