Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

image size too small

I've been using a small program that captures the image with a PXI-1411 from a DVD. It's written with LV 6.1. My resolution is 800x600. It's working OK! Since a couple of weeks I've installed in my PXI, LV 7.0 with its new IMAQ driver. If I capture my image from MAX I have no problems, BUT with the same program in LV 7.0 it doesn't work. The problem is that my picture appear too small. I use the 1/2 option in the Imaqe Horizontal and Vertical Scale and then appears a very small picture. If I change from 1/2 to none I can see my picture too big. I've already try to configure to "none" and make it manually smaller, but then I don't get the full image.
Do somebody know how can I solve this? Thanks in advance.

Angel
0 Kudos
Message 1 of 2
(2,974 Views)

Angel,

I'm sorry to hear about the trouble that you are having with your application. In IMAQ 2.6, there were some issues with using the onboard scaling features in MAX. Sometimes this resulted in images looking improper in LabVIEW. I believe that this might be the problem that you are experiencing.

To remedy this problem, you can try uninstalling your current version of NI-IMAQ and installing a different version. As you mentioned in your post, this feature worked in a previous version of NI-IMAQ, so you could try installing this older version. Better yet, you could try installing NI-IMAQ 3.0 which was just released this week. NI-IMAQ 3.0 should correct any problems that you were having with scaling (please be aware that the NI-IMAQ 3.0 will have a new look
to it, and the scaling feature will now be enabled inside of LabVIEW instead inside of MAX. This will allow you to programmatically change scaling on your IMAQ hardware). 

If you prefer not to change your version of the NI-IMAQ driver and you have IMAQ Vision installed on your machine, you can instead set your image to full size, and then use the IMAQ Extract VI to scale your image down to a smaller size. (To achieve 1/2 Scaling, use X Step=2 and Y Step=2).

Hopefully one of those options will correct the issue that you are seeing with your application.

Regards,
Jed R.
Applications Engineer
National Instruments

0 Kudos
Message 2 of 2
(2,974 Views)