Page 1 of 1

White balance and brightness setting

Posted: Sun Feb 25, 2024 12:20 pm
by ikeken
How do I set "Image Controls/Brightness, White Bal(R), White Bal(B)" from a Python script?
My camera is ASI662MC. I am using the latest version 4.1.11804.0-64bit.
I could not find the command.

Thank you.

Re: White balance and brightness setting

Posted: Mon Feb 26, 2024 2:01 pm
by admin
Hi,

something like

Code: Select all

SharpCap.SelectedCamera.Controls.FindByName("Brightness").Value = 20
should do the trick.

cheers,

Robin

Re: White balance and brightness setting

Posted: Mon Feb 26, 2024 10:45 pm
by ikeken
Hi Robin,

White Balance can now also controlled by following code.

Code: Select all

SharpCap.SelectedCamera.Controls.FindByName("White Bal (R)").Automatic=False
SharpCap.SelectedCamera.Controls.FindByName("White Bal (R)").Value=90
Thank you very much !