VimbaPython icon indicating copy to clipboard operation
VimbaPython copied to clipboard

Gain settings

Open xepost opened this issue 2 years ago • 1 comments

Hi ,

I am working with an USB3 camera using VimbaPython. Most of the settings work nicely but the gain settings are a bit problematic, second issue is some settings do not seem to apply after using Vimba Viewer, I had to unplug and plug back in.

I am using the asynchronous_grab_opencv.py as a template, and added the following lines at line 95.

try:
  #cam.ExposureAuto.set('Continuous')
  cam.ExposureAuto.set('Off')
  cam.ExposureMode.set('Timed')
  cam.ExposureTime.set('1000')
  cam.GainAuto.set('Off')
  # cam.Gain.set(0.5)
  #cam.Gain.set(7) #  starting  to see vertical lines
  cam.Gain.set(10)
  cam.BinningHorizontalMode.set('Sum')
  cam.BinningVerticalMode.set('Sum')
  cam.BinningHorizontal.set('2')
  cam.BinningVertical.set('2')

I am getting the following images, right part of the image is darker than the left and there are some patterns on the right side.It is a lot less visible but still there with unbinned images. When I set the gain value to the max image becomes clear again. I never had such issues with VimbaViewer.

Screenshot from 2022-09-11 22-57-42

Screenshot from 2022-09-11 22-56-02

Screenshot from 2022-09-11 23-04-15

Please let me know how can I solve this issue, any suggestion is appriciated.

xepost avatar Sep 11 '22 21:09 xepost

Hello Xepost,

this is a very strange behaviour. I suggest to move this issue to the official Allied Vision support: Please, fill the formular on the following link: https://www.alliedvision.com/en/about-us/contact-us/technical-support-repair-/-rma/

Best regards,

Bernardo

BernardoLuck avatar Sep 12 '22 11:09 BernardoLuck