Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Lumenera DirectShow Camera Attributes

Solved!
Go to solution

I am trying to get knowledgable on making vision acquisition software, and I need some help.  I am using Lumenera microscope cameras.  I don't have the model numbers in front of me, but I remember seeing information that these cameras use DirectShow.  I installed the software from Lumenera.  I then tired to find the camera in MAX.  Measurement & Automation did find the camera, and can snap/grab images.  As far as camera attributes, the only options available in MAX are exposure and gain.  I can change these attributes in MAX.  However, when I tell it to save, it doesn't seem to do anything.  Would be nice, but not a problem for me.

 

My problem is in labview.  I am currently using Labview 2009 SP1 on Widows XP, but we also want to move our development to Windows 7 running 64-bit labview 2010.  In 2009, I can get all the coding correct, and grab an image.  But I haven't figured out how to access and change the exposure and gain attributes like I did in MAX.  I tired contacting Lumenera for documentation of what the attribute names and data types are, but they are telling me that they don't interface to labview, and I need to contact the people making the IMAQdx driver and DirectX (I wonder if they mis-spoke, and meant DirectShow).  Anyway,  I am assuming this is something very simple I am missing since MAX is able to get what I want, I just need to know how to code that on the labview side.

0 Kudos
Message 1 of 4
(3,980 Views)
Solution
Accepted by topic author biographie

Hi biographie,

 

I would recommend looking at the Grab and Attributes Setup VI found via the Example Finder (Help>>Find Examples... Choose the Browse tab and browse according to Directory Structure. Expand IMAQ>>IMAQdx Examples.llb>>Grab and Attributes Setup.vi).  Here it will display all the attributes you are able to configure with your camera.  The underlying code allows you to change attributes prior to grabbing.  This should be a good place to start.

 

Best of luck!

 

Lynn

National Instruments
Senior Systems Engineer
0 Kudos
Message 2 of 4
(3,965 Views)

Thanks Lynn!  That is exactly what I needed to see.  On to the next issue learning image acquisition and processing...

0 Kudos
Message 3 of 4
(3,941 Views)

Awesome! Good luck with the acquisition and processing!

National Instruments
Senior Systems Engineer
0 Kudos
Message 4 of 4
(3,929 Views)