Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i adjust brightness , contrast etc during online Grabbing?

I am using PCI 1411 card for simple image acquisition using IMAQ 3.1.1 driver on windows.When i try to adjust brightness etc. at run time (inside the acquiring loop) through the IMAQ propery during "acquire"mode,i am getting the ERROR CODE : 1074397151.Please tell me the right sequence of doing this.

2.Does this continuous video acquisition result in memory
shortage problem?

Please also find the VI attached.
jeyaseelan P
AutoTEC Systems Pvt Ltd,
Bangalore-46
0 Kudos
Message 1 of 3
(3,288 Views)

Most camera attributes can not be set while grabbing. The propper way to set attributes is to stop your acquisition, set the attribute, and resume acquisition.

You could set this up with an event structure to happen all programatically once you change a value on any of your attribure controls - this would cause only a very slight pause in your video feed.

0 Kudos
Message 2 of 3
(3,277 Views)
It depends on what your doing with the acquisition, if you're trying to change camera attributes during the grab you will have to stop , change, and start again.  If you're changing the way the picture looks, the brightness, contrast and gamma, then you can easily change those values before it is displayed and after the grab.
0 Kudos
Message 3 of 3
(3,210 Views)