Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Minimum coverage value should be greater than zero (host machine)

Hi,

 

I am working on an host machine (windows 7, LabVIEW RTE 2010, VAS 2010 (evaluate version)) with an application created on another machine (Windows XP, LabVIEW 2010, Vision Development Module 2011).

 

This application is supposed to aquire an image by a USB camera.

 

When I run this application on the development machine, it works fine.

 

On the host machine, I can see my camera with MAX and do whatever I want to do with MAX.

When I run the application on the host machine, the application starts but when it is supposed to use the camera I got thes error (see attached file).

 

I tried to uninstall and reinstall all Lab'VIEW"s softwares but I still have this issue...

 

 

Any idea will be appreciated!

 

Thank you!

0 Kudos
Message 1 of 7
(4,154 Views)

Greetings, nicocmd;

 

After having taken a quick look at the Word Document, it seems that the error ocurred at the IMAQ USB Init.VI, which is a part of the IMAQ For USB driver. This particular driver was created before USB support was integrated into IMAQdx; as such, would you be able to attempt to use the IMAQdx VIs instead for this application?

 

I am not, however, sure if having an application created in 2011 Vision Software should necessarily work correctly in a computer with the 2010 Software. I will research that side of the matter a tad more and let you know what I find.

 

Simon P.

National Instruments
Applications Engineer
Message 2 of 7
(4,139 Views)

HI Simon,

 

Thank you for your reply.

 

I re-installed my softwares and I upgrated LabVIEW runtime from 2010 to 2012. 

I tried to create a new application with only IMAQdx VIs and I am able to take pictures!

But Is it possible to aquire an image in real-time and take a picture whenever I want with only IMAQdx VIs? If it is, do you know a good way to do it?

Thank you again.

 

Nicocmd

0 Kudos
Message 3 of 7
(4,130 Views)

By the way,

 

I tried to buid an application with vision acquisition (only that) to acquire an image. I do not get errors anymore!

Then the camera starts to run but I can't see the video on the display...

As I said, the applications work always fine on the development machine....

 

Nicocmd

0 Kudos
Message 4 of 7
(4,128 Views)

OK,

 

I jus re-installed Vision RTE 2012 and it works!

I don't get it but it seems to be fine.

 

If you have any answer for acquiring images with IMAQdx I am still interested!

 

Again, thank you Simon.

 

 

Nicocmd

0 Kudos
Message 5 of 7
(4,125 Views)

Greetings, nicocmd;

 

First and foremost, it is excellent that you are now up and running!

 

In what concerns your question, do you mean to continuously see the image displayed in a live feed and only save it when the user clicks a button or some such? What do you mean with only using IMAQdx VIs? Would it refer to not using the IMAQ For USB VIs?

 

If you would desire to take in images from the camera and display them in a live feed, you could simply set up an IMAQdx acquisition and either use the Grab or the GetImage VIs and have a case structure in which you decide whether or not to save the image that was just displayed (or the next one that will be taken). 

 

I did a tad of research and came across the following forum post; in it, another user posted a VI that might be of service to you, for it saves images into a tiff file.

http://forums.ni.com/t5/LabVIEW/IMAQdx-grab-and-save-images-i-e-PNG-TIFF-etc-not-AVIs/td-p/1044201

 

Finally, if you would mean using only IMAQdx VIs and not IMAQ, then I do not believe it is possible simply because the vision utilities (Such as creating the image memory location) will be part of the IMAQ palette.

 

Cordially;

 

Simon P.

National Instruments
Applications Engineer
0 Kudos
Message 6 of 7
(4,118 Views)

HI,

 

 

I meant to continuously see the image displayed in a live feed and save it when the user clicks a button, that is exactly that! I was trying to do that only with IMAQdx VIs or IMAQ USB VIS but without Vision Assistant.

For some reason, it did not work... I still don't know how to do that...

I tried again with Vision Assistant and it worked! It was probably because I did something wrrong either in the VI, either in the Vision Assistant parameters...

I finally got my VI how I wanted to!

I guess my first problem was wrong softwares...

 

Again, thank you Simon for your replies.

 

 

Best regards,

 

 

Nicocmd 

0 Kudos
Message 7 of 7
(4,113 Views)