CanonSDK ASCOM.DSLR

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

Re: CanonSDK ASCOM.DSLR

Post by admin » Thu Aug 22, 2019 8:36 pm

Hi,

Good to hear that you have something working – from the date of the post that you quote I can see that I made some changes to the code after 22 August 2018 that are in the github code base but would not be in that build. I wouldn't have expected those changes to break it, but you never know. One thing I did find when I was playing with this myself was that it was always reluctant to work the first time you used it and once you had it working once intended to be a few better behaved.

Cheers, Robin

jmrp
Posts: 8
Joined: Thu Aug 15, 2019 8:09 pm

Re: CanonSDK ASCOM.DSLR

Post by jmrp » Sat Aug 24, 2019 4:51 am

Robin - I have run more test with SharpCap and ASCOM.DSLR - I can run your version of ASCOM.DSLR - capture several frames and stop the frame capture by deselecting the ASCOM.DSLR option - images are saved as Raw in the Pictures directory - can SharpCap use these RAW frames to polar align?

I have noticed that when I then exit SharpCap and view the Task Manager - SharpCap is still running as a background process - is this normal? - in another test I have started SharpCap without selecting a camera option and then exit - Task Manager does not show any SharpCap background process

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

Re: CanonSDK ASCOM.DSLR

Post by admin » Sat Aug 31, 2019 10:48 am

Hi,

I can't see any reason why you shouldn't be able to run the polar alignment if the camera is working and taking images. Because the process is interactive you won't be able to make it work by capturing images in advance I think.

SharpCap shouldn't continue to run in the background after closing down, I suspect it is related to the DSLR driver as I don't think that happens with any of the other cameras.

Cheers, Robin

jmrp
Posts: 8
Joined: Thu Aug 15, 2019 8:09 pm

Re: CanonSDK ASCOM.DSLR

Post by jmrp » Thu Sep 12, 2019 5:31 pm

Robin
FYI ASCOM.DSLR will "not" work on my Canon Rebel XS if Canon "Mirror lockup" is "Enable" - works with "Disable"

Finally had a clear night to test your version of ASCOM.DSLR with the Canon Rebel XS (Mirror lockup Disable)
- you were right - Sharpcap works with the ASCOM Camera Driver for DSLR(SharpCap test version) option for
polar alignment - no need for third party options or downloading captures to the "Folder Monitor Camera" option
- I had to increase exposure and gain using the Camera Control Panel option in the right side panel - I think
that the Canon Rebel XS sensor is not as sensitive as modern guide cameras

So far Sharpcap/ASCOM.DSLR.dll only works for the ASCOM.DSLR.Setup.exe version(2018Aug22) you provided - I can
succesfully compile the source code you provided - but I can not reproduce the dll you have - my compiled dll
(339KB,does not work) is not the same as your dll (338KB,works) - I have decompiled the dll of both your version and
my compiled versions and see that there are changes to ThisAssembly,MaxADU,SetCameraSettings and ReadRaw

My compiled version does not show these changes - for example I can see values inserted into the ThisAssembly with your
dll but not my compiled dll - the problem my be in my GitInfo/GitHub install - I have placed a report to the
Visual Studio help desk which was acknowledged but have not received a reply in over two weeks

I have tried the latest update for Visual Studio 2019 and a fresh download of the GitHub repository for ASCOM.DSLR
with no difference - I am not an experienced programmer and I can not see where your compile makes these changes that
I have listed above - I suspect that the extensions and packages you used (2018Aug) with Visual Studio 2017 may not be
the same as my Visual Studio 2019 with latest NuGet and GitHub packages - possible? if you still have this information
I would be grateful if you could find the time to provide me with the version numbers of the extensions and packages you
used - I appreciate your patience with my newbie questions - any directions you may have would also be appreciated -
hopefully I will not have to bother you with more questions

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

Re: CanonSDK ASCOM.DSLR

Post by admin » Thu Sep 12, 2019 6:17 pm

Hi,

I don't think that the build tools will have a big impact here, but one thing that does occur to me is that initially I created my own branch of this code which I think is called 'dev' in the github repository. I'm fairly sure that's what I built the test version from. Later on I decided it would be better to get my changes into the main code base so I created feature branches for the major things that I done by cherry picking some of the commits and then made pull requests to bring those into the main code base. I do wonder if somewhere along the way I didn't quite make all the changes that I'd made in my 'dev' branch.

Cheers, Robin

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests