4.1 : ASCOM Camera Driver - no Gain showing

A place to report problems and bugs in 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

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
MattTexas23
Posts: 17
Joined: Sun Sep 03, 2023 6:11 am

4.1 : ASCOM Camera Driver - no Gain showing

#1

Post by MattTexas23 »

Using the 4.1.11 version (28 August 2023) - and the ASCOM Camera Driver (Canon T3i), I cant find the ISO/Gain settings anymore in the right hand window - see screen shot.

The new features (Gain Shift) seem to have dropped off. When I click on "Show" the ASCOM driver window pops up.

desired outcome; bring back ability to set ISO/Gain for ASCOM Camera Driver Camera in 4.1

thanks!
Attachments
GainGone.png
GainGone.png (197.74 KiB) Viewed 2163 times
User avatar
turfpit
Posts: 2265
Joined: Mon Feb 13, 2017 8:13 pm
Location: UK
Contact:

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#2

Post by turfpit »

Tested this with my Canon 7D Mk2 against 4.1.11 version (28 August 2023) with ASCOM Platform 6.6 build 6.6.1.3673. For both 32 and 64-bit versions of SC, the Gain control in Camera Controls is missing. Gain is present with SC 4.0.95.38 32-bit.

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

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#3

Post by admin »

Hi folks,

thanks for the report - I will test this. There is special handling for cameras with individual gains (ISO values, etc) rather than a slider like most cameras, and I suspect that has gone wrong.

cheers,

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

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#4

Post by admin »

Hi,

this turns out to be a combination of a bug in ASCOM.DSLR (the collection of Gains it returns for the camera are not correct, according to the ASCOM specification) and the new ASCOM library I am using in SharpCap 4.1 not dealing with the issue without anyone noticing it.

It's not something I can fix in SharpCap itself, but I have raised issues with both the ASCOM team and the ASCOM.DSLR project - either fix would do the job, but the one from the ASCOM team would fix things for existing binary versions of ASCOM.DSLR rather than requiring everyone to get a new version fo that.

https://github.com/ASCOMInitiative/ASCO ... /issues/28
https://github.com/vtorkalo/ASCOM.DSLR/issues/33

cheers,

Robin
MattTexas23
Posts: 17
Joined: Sun Sep 03, 2023 6:11 am

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#5

Post by MattTexas23 »

Hi Robin,

I am trying to figure out what I need to do next to overcome this bug. I am not sure if it has been fixed in a released version of ASCOM by now - I read that the latest reply on the issue tracker on github was Oct 2023, but do not know how to interpret that.

Today I am using two versions of Sharpcap on an evening. Sharpcap 4.0 : where I can set the gains of my DSRL, so I can Polar Align. Sharpcap 4.1 if I want to Push to direction - but gain default is ISO 100 - and the window to change the gain settings is not showing on the right hand side, like reported. I run ASCOM 6.6 SP1 (6.6.1.3673).

Is it resolved, so I can update ASCOM and give it another shot?

thank you,

Matt
MikeHuerto
Posts: 81
Joined: Thu Jan 21, 2021 12:05 pm
Location: Spain

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#6

Post by MikeHuerto »

FYI
I just had the same problem with a Canon 6D. After reading this thread, I updated from ASCOM 6.6SP1 -6.6.13673. to ASCOM to 6.6SP2, running SC 4.1.12371.0 64 bi and it works. I now see and can select correct gain in the pull down menu in the panel below exposure contro (it wasnt showing with 6.6SP1)

https://ascom-standards.org/Downloads/Index.htm

CS

Mike
Last edited by MikeHuerto on Tue Jul 16, 2024 2:44 pm, edited 1 time in total.
Bortle 5
Skywatcher GOTO Synscan 14" Dobson
Skywatcher 130PDS on HEQ5
ZWOASI224MC and ASI294MCPro
Laptop = Lenovo Legion 5 FullHD 144Hz (Intel Core i7-10750H, 16GB RAM, 512GB SSD, NVIDIA RTX2060-6GB, Windows 10
User avatar
turfpit
Posts: 2265
Joined: Mon Feb 13, 2017 8:13 pm
Location: UK
Contact:

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#7

Post by turfpit »

Mike

Thanks for that. My Canon 7D MK2 has stopped working. To try to debug this I used the ASCOM.DSLR.Test program that comes as part of the DSLR driver (thus eliminating SharpCap). I have upgraded to the latest ASCOM Platform (in order to retrieve the 'gain' setting). My versions are as follows:

ASCOM-diags.JPG
ASCOM-diags.JPG (21.92 KiB) Viewed 1040 times

ASCOM-DSLR-Test-version.JPG
ASCOM-DSLR-Test-version.JPG (26.92 KiB) Viewed 1040 times

ASCOM-DSLR-Camera-dll.JPG
ASCOM-DSLR-Camera-dll.JPG (28.07 KiB) Viewed 1040 times


What version of the DSLR driver are you running with and where did you obtain it? Mine was from the FearL0rd 2020 offering.

Dave
MikeHuerto
Posts: 81
Joined: Thu Jan 21, 2021 12:05 pm
Location: Spain

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#8

Post by MikeHuerto »

Hi Dave

To be clear, with the new ASCOM 6.6 update, my Canon 6D now works fine with SC and shows the gain drop down menu.

According to my notes, I downloaded the DSLR ASCOM driver on Feb 6, 2021 (I assume from Github).

By way of backstory - at the time the DSLR driver was for use with my Canon D450, it worked fine for a long time, then last year, the D450 stopped being able to connect to SharpCap or even any PC or Mac running the utility. I tested 2 new cables, no luck. So I assumed that it was the USB socket on the camera itself. There are several examples of this connector going bad on CloudyNights, So I finally took the plunge last week and bought a used Canon 6D MkI on MPB - thats connected fine, but thats when I noticed that the gain window was not showing up - which lead me to this page - where I found Robin's suggestion that it was an ASCOM issue pending an update - so updated ASCOM, and voila, it worked!

Hope that helps!

Best
Mike
Bortle 5
Skywatcher GOTO Synscan 14" Dobson
Skywatcher 130PDS on HEQ5
ZWOASI224MC and ASI294MCPro
Laptop = Lenovo Legion 5 FullHD 144Hz (Intel Core i7-10750H, 16GB RAM, 512GB SSD, NVIDIA RTX2060-6GB, Windows 10
User avatar
turfpit
Posts: 2265
Joined: Mon Feb 13, 2017 8:13 pm
Location: UK
Contact:

Re: 4.1 : ASCOM Camera Driver - no Gain showing

#9

Post by turfpit »

Thanks Mike.

Dave
Post Reply