Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I adjust my H/W device brightness level in LabVIEW instead of in MAX?

The BCG Lookup.vi sets the brightness after image is grabbed which is not what I want. I would like to set the hardware brightness level as normally executed in MAX but instead using LabVIEW. I don't want to have to remember to change the brightness level on each computer before the application can be used. I would much rather programmatically set this parameter.
0 Kudos
Message 1 of 4
(3,572 Views)
Almost everything you can set in MAX is available through property nodes in LabVIEW. Open the IMAQ session, then set whatever attributes you want. Usually you have to set them before you start any acquisition.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 4
(3,572 Views)
Thanks for responding. When I attach the property node to the Imaq reference, the node does not display any properties. Either I'm doing something wrong or my Imaq drivers are screwed up. Do you have a working example that you can send me? I'm using LabVIEW 6.1 and IMAQ Vision 6.0.1 with IMAQ 2.5.1 drivers.

Thanks again,

Guy
0 Kudos
Message 3 of 4
(3,572 Views)
Guy -

Here is a link to an example program which performs an Auto Exposure. It is functionally identical to the Auto Exposure button in MAX. If you don't need to do this specifically, you can still open it up and see how the black and white reference are set programmatically. You can also set them with property nodes. Just right click on a IMAQ session ID wire, then select create >> Property and you should see a lot of different properties which are configurable.

Here's the link to that example:
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/0e1c3e9ed9e26f0b86256a14006bda0a?OpenDocument

Jack Arnold
Application Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,572 Views)