Set specific gain values for Sensor Analysis

Somewhere to ask questions about the best way to use SharpCap
Forum rules
‍

If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Post Reply
rfcontreras
Posts: 2
Joined: Sun Apr 02, 2023 5:24 pm

Set specific gain values for Sensor Analysis

#1

Post by rfcontreras »

Dear all

Not so long ago I've read a post on a forum regarding the possiblity to specify gain values for the Sensor Analysis, kind of changing a config file. I can't find it and I've searched the forum with no luck.
Is this possible ?

Best regards

Ricardo
User avatar
admin
Site Admin
Posts: 17474
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Set specific gain values for Sensor Analysis

#2

Post by admin »

Hi Ricardo,

yes, you can do this via the scripting console. The command is

Code: Select all

SharpCap.SelectedCamera.SetGainsOfInterestForSensorAnalysis([79,80,81])
Obviously replace 79,80,81 with the values you are interested in. Run this command once you have opened the camera, but before you do the analysis. Note that the values are not remembered when you close and then re-open SharpCap.

cheers,

Robin
rfcontreras
Posts: 2
Joined: Sun Apr 02, 2023 5:24 pm

Re: Set specific gain values for Sensor Analysis

#3

Post by rfcontreras »

Thanks for the information Robin!

Best regards

Ricardo
Post Reply