NI Home > Community > NI Discussion Forums
Reply
Member
IsaacT
Posts: 13
0 Kudos

12 or 8 bit depth problem

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?

 

Active Participant
rpursley8
Posts: 969
0 Kudos

Re: 12 or 8 bit depth problem

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.

Randall Pursley
Member
IsaacT
Posts: 13
0 Kudos

Re: 12 or 8 bit depth problem

I have tried all the settings for the IMAQ create vi, none of them work...

Active Participant
DavidS.
Posts: 226
0 Kudos

Re: 12 or 8 bit depth problem

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


Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
2 sessions en parallèle : Débuter a...

Member
IsaacT
Posts: 13
0 Kudos

Re: 12 or 8 bit depth problem

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.

Active Participant
DavidS.
Posts: 226
0 Kudos

Re: 12 or 8 bit depth problem

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


Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
2 sessions en parallèle : Débuter a...

Member
IsaacT
Posts: 13
0 Kudos

Re: 12 or 8 bit depth problem

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.

Active Participant
DavidS.
Posts: 226
0 Kudos

Re: 12 or 8 bit depth problem

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


Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
2 sessions en parallèle : Débuter a...

Member
IsaacT
Posts: 13
0 Kudos

Re: 12 or 8 bit depth problem

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)

Active Participant
DavidS.
Posts: 226
0 Kudos

Re: 12 or 8 bit depth problem

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


Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
2 sessions en parallèle : Débuter a...