VimbaPython
VimbaPython copied to clipboard
Gain settings
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.
Please let me know how can I solve this issue, any suggestion is appriciated.
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