PDA

View Full Version : Trouble with gain property



futuramaar
February 18, 2010, 08:43:57
I am using a property node to set gain with an integer numeric control. I have an event structure, and one event is a value change in the numeric control. It is set up in the event structure so that live stop is invoked then the gain is set then a live start is invoked. This however doesn't work and always produces an error. I dont know what to do. I want there to be a button that sets the gain for the camera on the front panel. I dont want the user to have to open the video properties box and change the gain through there.

Stefan Geissler
February 18, 2010, 12:38:35
Hello,

an error message would have been helpful.

You do not need to stop the live video in order to set a gain value. This can be done while the live video is running.

The only situations I know for gain failures are:
- the value is out of bounds of the gain range
- the gain automatic is enabled
- the video capture device does not support gain.

You know, that there is an extra VI for setting these properties? It comes with the IC LabVIEW extension.