Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Display 10-bit image without IMAQ Vision

I tried to use CWIMAQ.WindowPlot to display 10-bit images in my picture box, but it didn't work. The same function works for 8-bit images. Any idea? Thanks.
0 Kudos
Message 1 of 4
(3,560 Views)
You won't be able to display anything but 8-bit images in a Visual Basic picture box. Read through the following document for more information:
Viewing an Acquired Image in a Visual Basic Picture Box
http://digital.ni.com/public.nsf/websearch/A23139C3DD20EDB086256C2B0061DF36

You can convert the 10-bit image to 8-bit in order to display it - this example program shows how to do it:
Convert 16-bit IMAQ Image to 8-bit Image in Visual Basic
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=BB99CB84F71718C8E034080020E74861&p_node=DZ52000_US&p_source=External

Hope this helps-
Julie S
Applications Engineer
National Instruments
Message 2 of 4
(3,560 Views)
Thanks very much for the answer. If I use CWIMAQViewer control for image display, I won't have this problem, but I received an evaluation version warning. Will that warning actually affect my program?
0 Kudos
Message 3 of 4
(3,560 Views)
The evaluation version of the IMAQ Vision software will only work for a limited amount of time. This allows you to see all the functionality that it adds - in order to use it fully licensed though, you need to purchase it. Here is a link to more information on the IMAQ Vision for Measurement Studio (Visual Basic) software: http://sine.ni.com/apps/we/nioc.vp?cid=2881〈=US

-Julie
0 Kudos
Message 4 of 4
(3,560 Views)