Closed willoubua closed 3 years ago
William, in capture.cpp, where you find the line "ASIGetNumOfControls(CamNum, &iNumOfCtrl);", add the lines below, recompile, and restart allsky. Look in the log for the gain MaxValue for your camera. When done, either remove the code or change the first line to "if (0)"
if (1) // this is really only needed for debugging { // ECC: Display the control capabilities, not just the names, for debugging. printf("Control Caps:\n"); for (i = 0; i < iNumOfCtrl; i++) { ASIGetControlCaps(CamNum, i, &ControlCaps); printf("- %s:\n", ControlCaps.Name); printf(" - MinValue = %ld\n", ControlCaps.MinValue); printf(" - MaxValue = %ld\n", ControlCaps.MaxValue); printf(" - DefaultValue = %ld\n", ControlCaps.DefaultValue); printf(" - IsAutoSupported = %d\n", ControlCaps.IsAutoSupported); printf(" - IsWritable = %d\n", ControlCaps.IsWritable); printf(" - ControlType = %d\n", ControlCaps.ControlType); } }
thank you, let me try and i'll come back to you.
William
William, Were you able to try my suggestion? If so, what did it show for gain? Eric
Hello Eric,
I didn't because to be honest i don't know how to recompile :-) i'm not a dev and i'm not used to work on linux. I know how to edit the file and modify it but not the rest. Maybe you could give me the command line to recompile ?
Thank you
William
William, Open a command window (the black-ish icon on the left side of the tool bar). You should be in /home/pi. Then: cd allsky make capture Restart allsky like you normally do. The log file can be very helpful. It's normally in /var/log/allsky.log.
Let me know how it goes.
Eric
From: willoubua @.> Sent: Sunday, August 1, 2021 5:32:40 AM To: thomasjacquin/allsky @.> Cc: EricClaeys @.>; Comment @.> Subject: Re: [thomasjacquin/allsky] Gain value limited to 100 (#368)
Hello Eric,
I didn't because to be honest i don't know how to recompile :-) i'm not a dev and i'm not used to work on linux. I know how to edit the file and modify it but not the rest. Maybe you could give me the command line to recompile ?
Thank you
William
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/thomasjacquin/allsky/issues/368#issuecomment-890502767, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT2PYK2WWDUPWINL6TZUNJDT2UWFRANCNFSM443FII3Q.
William, The ASI120 camera has a max gain of 100. There is nothing we can do about this. Attached are its capabilities including the min, max, and default values. If this answers your question, please close the issue. Thanks - Eric
Ho damed...
I saw so much exemples with Gain arround 250 i though it was the same for all camera...
Thank you
I assume the max is 100 because the ASI120 is an older camera and the "mini" model is typically used as a guide camera. My ASI178's max gain is much higher. Eric
Hello,
I made my own Allsky based on ZWO ASI 120MC. Everything works fine except one point, the Gain value is limited to 100. (from what i see in the metadata indicated on each picture). I tried to set Gain and Max Gain value to 250 either from the GUI (Editor) or from the config file but nothing change, still 100 max. I have disable of course the automatic gain option.
If someone allready met this situation and can help me...
Thank you William