|
|||||||||||||
05-04-2012 11:03 AM
I am using the linked Vi to grab a 16 bit image from a camera link camera.
However, the output image is always 8-bit regardless of my settings and the MAX settings.
Max sees the image as 16 bits without problems.
I actually succeeded in recording 16-bit images with this setup before, using the previous version of the NI-IMAQ drivers, but other camera properties did not work.
Any Ideas on what I could be doing wrong?
05-04-2012 11:13 AM
I don't think your version of IMAQ supports Grayscale(U16). Change the image type to Grayscale(I16) and see if it works. Then you will know for sure.
05-04-2012 12:02 PM
I have tried all the settings for the IMAQ create vi, none of them work...
05-07-2012 05:05 AM
Hi IsaacT,
To understand what could be wrong, could you please give us the NI-IMAQ driver version and the model of your camera and your framegrabber?
Sincerely
David S.| Certified LabVIEW Associate Developer
National Instruments France
05-07-2012 05:07 AM
Hi
I'm using a 1433 frame grabber, a Baumer HXC40 camera, and version 4.6.4 IMAQ drivers.
Thanks a lot for your help.
05-07-2012 06:54 AM
When you say that "I actually succeeded in recording 16-bit images with this setup before". that was with this camera?
David S.| Certified LabVIEW Associate Developer
National Instruments France
05-07-2012 07:36 AM
Yes, same camera, same frame grabber, simply the previous version of IMAQ drivers. I am almost certain it was the same vi that succeeded in recording 16bit images.
05-07-2012 09:21 AM
Could you use a property node "Image parameters >> Image Type" on the IMAQ Session out to see what is the image type use by the frame grabber?
David S.| Certified LabVIEW Associate Developer
National Instruments France
05-07-2012 10:08 AM
The image is definitely reported as "Grascale(U8)". It is very strange, since MAX sees it as a 16bit image ( see attachment) and A 8-bit version looks very different(see attatchment 2).
(the change in size is just to keep acceptable file sizes)
05-07-2012 10:35 AM
Ok so you could probably use the VI IMAQ Set Camera Attribute to define a U16 or a I16 for your camera, as you have it in MAX?
David S.| Certified LabVIEW Associate Developer
National Instruments France
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page