ASCOM DSLR Treiber Canon 40D

Post Reply
Seppel_Canon
Posts: 6
Joined: Sat Jun 17, 2023 11:48 am

ASCOM DSLR Treiber Canon 40D

#1

Post by Seppel_Canon »

Hello Team, I have a strange problem with the ASCOM DSLR driver. I have on a laptop with Win 10 Sharpcap Pro with the ASCOM DSLR driver running. Here I connect my Canon 40D and perform the Polar Alignment. Everything works fine. Now I have installed everything identically on another laptop and he does not want to connect the camera. System requirements all the same. Even the same driver versions. I start the program and turn on the camera. Then I select ASCOM DSLR camera and it is triggered 4 times then the following error appears: "An ERROR occurred while starting your ASCOM Camera driver for DSLR" Tipss like restart, off and on again bring unfortunately nothing.
Does anyone have an idea?
I have translated the text with deepl. Answers gladly also on deustch.

Thanks a lot and clear nights

Greetings Nicolai

Translated with www.DeepL.com/Translator (free version)
User avatar
admin
Site Admin
Posts: 13876
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: ASCOM DSLR Treiber Canon 40D

#2

Post by admin »

Hi Nicolai,

if you could share the SharpCap log file after attempting to open the camera, I can review it and see if it contains any more detailed information about what is going wrong that might help you understand the situation.

Another thought is that maybe you have not been able to access the setup window for the ASCOM.DSLR driver on the new computer (SharpCap makes it hard to access that window if the driver fails to open in certain ways). Perhaps access the driver in another application, adjust any settings needed and then try again.

thanks,

Robin


Wenn Sie die SharpCap-Protokolldatei nach dem Versuch, die Kamera zu öffnen, weitergeben könnten, kann ich sie überprüfen und sehen, ob sie detailliertere Informationen darüber enthält, was schief gelaufen ist, die Ihnen helfen könnten, die Situation zu verstehen.

Ein anderer Gedanke ist, dass Sie möglicherweise nicht auf das Setup-Fenster für den ASCOM.DSLR-Treiber auf dem neuen Computer zugreifen konnten (SharpCap erschwert den Zugriff auf dieses Fenster, wenn der Treiber auf bestimmte Weise nicht geöffnet werden kann). Greifen Sie möglicherweise in einer anderen Anwendung auf den Treiber zu, passen Sie die erforderlichen Einstellungen an und versuchen Sie es dann erneut.
Seppel_Canon
Posts: 6
Joined: Sat Jun 17, 2023 11:48 am

Re: ASCOM DSLR Treiber Canon 40D

#3

Post by Seppel_Canon »

Hi Robin, thanks for the reply. I have made 2 screenshot with the messages that appear.
If I click on "ASCOM Camera Driver for DSLR without camera connected, the settings menu appears. This I have left unchanged.
menü Sharpcap.JPG
menü Sharpcap.JPG (32.81 KiB) Viewed 14428 times
I confirm this with OK and then the following message appears.
menü Sharpcap.JPG
menü Sharpcap.JPG (32.81 KiB) Viewed 14428 times
The error also appears when I have the camera connected and plugged in. Before that, it triggers 4 times with normal intervals.
Attachments
Fehlermeldung 1 Sharpcap.JPG
Fehlermeldung 1 Sharpcap.JPG (37.74 KiB) Viewed 14428 times
Seppel_Canon
Posts: 6
Joined: Sat Jun 17, 2023 11:48 am

Re: ASCOM DSLR Treiber Canon 40D

#4

Post by Seppel_Canon »

Log file part one

at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347 in new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)
Error 13:52:16.023877 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog() in new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)
Error 13:52:16.023877 #1 Opening Camera : Exception of type 'InvalidOperationException' : Failed to initialize ASCOM camera ('ASCOM Camera Driver for DSLR')
Stack Trace: at new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 124
at ICameraProxy SharpCap.Cameras.ASCOM.NewAscomCaptureProvider.BuildCameraProxy(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewASCOMCaptureProvider.cs:line 12
at void SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/SimpleCaptureProvider.cs:line 46
at void SharpCap.Base.CaptureProviderBase<T>.OpenDevice(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/CaptureProviderBase.cs:line 1085
at void SharpCap.MultiCaptureProvider.OpenDevice(DeviceTagData deviceTag) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap/Models/MultiCaptureProvider.cs:line 391
at bool SharpCap.Models.Camera.OpenDevice(bool inLiveView) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap/Models/Camera.cs:line 1460 in void SharpCap.Models.Application.SelectNewCamera(Camera value)
Error 13:52:16.023877 #1 Inner Exception : SharpCap.Base.FailedToConnectException: Camera not connected ---> SharpCap.Base.ExternalHardwareException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347
--- End of inner exception stack trace ---
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 352
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 85
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 361
--- End of inner exception stack trace ---
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 366
at new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 71 in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Error 13:52:16.023877 #1 Inner Exception : SharpCap.Base.ExternalHardwareException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
Seppel_Canon
Posts: 6
Joined: Sat Jun 17, 2023 11:48 am

Re: ASCOM DSLR Treiber Canon 40D

#5

Post by Seppel_Canon »

part two

--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347
--- End of inner exception stack trace ---
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 352
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 85
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 361 in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Error 13:52:16.023877 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347 in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Error 13:52:16.023877 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog() in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Info 13:52:24.172627 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.OpenCameraAction ASCOM Camera Driver for DSLR complete in async Task SharpCap.ViewModels.UIAction.Execute()
Info 13:52:25.793085 #1 Updating devices menu in void SharpCap.ViewModels.CamerasMenuViewModel.UpdateDevicesMenu()
Info 13:52:27.677154 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.OpenCameraAction ASCOM Camera Driver for DSLR executing in async Task SharpCap.ViewModels.UIAction.Execute()
Info 13:52:27.683664 #1 Changing camera from none to ASCOM Camera Driver for DSLR in void SharpCap.Models.Application.SelectNewCamera(Camera value)
Info 13:52:27.714920 #1 OpeningDevice event received in UI thread in async void SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(object sender, CaptureEventArgs e)
Debug 13:52:27.714920 #1 Opening device : ASCOM Camera Driver for DSLR (via ASCOM Cameras) in void SharpCap.MultiCaptureProvider.OpenDevice(DeviceTagData deviceTag)
Debug 13:52:27.730548 #1 Started void SharpCap.Base.CaptureProviderBase<T>.Initialize(IImageDisplay previewTargetWindow) in void SharpCap.Base.CaptureProviderBase<T>.Initialize(IImageDisplay previewTargetWindow)
Debug 13:52:27.730548 #1 Ended void SharpCap.MultiCaptureProvider.OpenDevice(DeviceTagData deviceTag) in void SharpCap.MultiCaptureProvider.OpenDevice(DeviceTagData deviceTag)
Info 13:52:27.730548 #1 Started void SharpCap.Base.CaptureProviderBase<T>.OpenDevice(DeviceTagData dtd) in void SharpCap.Base.CaptureProviderBase<T>.OpenDevice(DeviceTagData dtd)
Debug 13:52:27.730548 #1 Started void SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd) in void SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd)
Error 13:52:28.015646 #1 Connecting ASCOM camera : Exception of type 'NotConnectedException' : Camera not connected
Stack Trace: at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at void ASCOM.DriverAccess.MemberFactory.SetTargetInvocationExceptionHandler(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 647
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 314
at void ASCOM.DriverAccess.AscomDriver.set_Connected(bool value) in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 165
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 75 in void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName)
Error 13:52:28.015646 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at void ASCOM.DSLR.Classes.CanonSdkCamera.OpenSession()
at void ASCOM.DSLR.Classes.CanonSdkCamera.ConnectCamera()
at void ASCOM.DSLR.Camera.set_Connected(bool value) in SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { }
Error 13:53:09.023825 #1 Error from external device. : Exception of type 'NotConnectedException' : Camera not connected
Stack Trace: at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347 in SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { }
Error 13:53:09.023825 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog() in void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a)
Error 13:53:09.023825 #1 Error connecting to external device. : Exception of type 'ExternalHardwareException' : Camera not connected
Stack Trace: at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 352
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 85
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 361 in new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)
Error 13:53:09.023825 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347 in void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName)
Error 13:53:09.023825 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog() in void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName)
Error 13:53:09.039449 #1 Creating ASCOM camera ASCOM Camera Driver for DSLR : Exception of type 'FailedToConnectException' : Camera not connected
Stack Trace: at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 366
at new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 71 in ICameraProxy SharpCap.Cameras.ASCOM.NewAscomCaptureProvider.BuildCameraProxy(DeviceTagData dtd)
Error 13:53:09.039449 #1 Inner Exception : SharpCap.Base.ExternalHardwareException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347
--- End of inner exception stack trace ---
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 352
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 85
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 361 in new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)
Error 13:53:09.039449 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347 in new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)
Error 13:53:09.039449 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog() in new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)
Error 13:53:09.039449 #1 Opening Camera : Exception of type 'InvalidOperationException' : Failed to initialize ASCOM camera ('ASCOM Camera Driver for DSLR')
Stack Trace: at new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 124
at ICameraProxy SharpCap.Cameras.ASCOM.NewAscomCaptureProvider.BuildCameraProxy(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewASCOMCaptureProvider.cs:line 12
at void SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/SimpleCaptureProvider.cs:line 46
at void SharpCap.Base.CaptureProviderBase<T>.OpenDevice(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/CaptureProviderBase.cs:line 1085
at void SharpCap.MultiCaptureProvider.OpenDevice(DeviceTagData deviceTag) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap/Models/MultiCaptureProvider.cs:line 391
at bool SharpCap.Models.Camera.OpenDevice(bool inLiveView) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap/Models/Camera.cs:line 1460 in void SharpCap.Models.Application.SelectNewCamera(Camera value)
Error 13:53:09.039449 #1 Inner Exception : SharpCap.Base.FailedToConnectException: Camera not connected ---> SharpCap.Base.ExternalHardwareException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347
--- End of inner exception stack trace ---
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 352
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 85
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 361
--- End of inner exception stack trace ---
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 366
at new SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 71 in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Error 13:53:09.039449 #1 Inner Exception : SharpCap.Base.ExternalHardwareException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347
--- End of inner exception stack trace ---
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 352
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 85
at void SharpCap.Base.ExtensionMethods.WrapFailedToConnectException(object o, Action a, string deviceName) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 361 in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Error 13:53:09.039449 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected ---> ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog()
--- End of inner exception stack trace ---
at void ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(string memberName, Exception e) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 559
at object ASCOM.DriverAccess.MemberFactory.CallMember(int memberCode, string memberName, Type[] parameterTypes, params object[] parms) in C:/ASCOM Build/Export/ASCOM.DriverAccess/MemberFactory.cs:line 421
at void ASCOM.DriverAccess.AscomDriver.SetupDialog() in C:/ASCOM Build/Export/ASCOM.DriverAccess/AscomDriver.cs:line 372
at void SharpCap.Cameras.ASCOM.CameraProxy.SetupDialog() in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/CameraProxy.cs:line 21
at SharpCap.Cameras.ASCOM.NewCameraProxy(DeviceTagData dtd)+() => { } in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Cameras.ASCOM/NewCameraProxy.cs:line 88
at void SharpCap.Base.ExtensionMethods.WrapExternalException(object o, Action a) in C:/Documents/Source Code/SharpCap4.0/src/SharpCap.Base/ExtensionMethods.cs:line 347 in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Error 13:53:09.039449 #1 Inner Exception : ASCOM.NotConnectedException: Camera not connected
at void ASCOM.DSLR.Classes.CanonSdkCamera.ScanForCameras()
at CameraModel ASCOM.DSLR.Classes.CanonSdkCamera.ScanCameras()
at CameraModel ASCOM.DSLR.Classes.BaseCamera.get_CameraModel()
at void ASCOM.DSLR.Camera.WriteProfile()
at void ASCOM.DSLR.Camera.SetupDialog() in bool SharpCap.Models.Camera.OpenDevice(bool inLiveView)
Info 13:53:11.050268 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.OpenCameraAction ASCOM Camera Driver for DSLR complete in async Task SharpCap.ViewModels.UIAction.Execute()
Info 13:56:06.104860 #1 Updating devices menu in void SharpCap.ViewModels.CamerasMenuViewModel.UpdateDevicesMenu()
Info 13:56:18.914269 #1 Updating devices menu in void SharpCap.ViewModels.CamerasMenuViewModel.UpdateDevicesMenu()
Info 14:00:30.367746 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction executing in async Task SharpCap.ViewModels.UIAction.Execute()
Info 14:00:30.442902 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction complete in async Task SharpCap.ViewModels.UIAction.Execute()
Seppel_Canon
Posts: 6
Joined: Sat Jun 17, 2023 11:48 am

Re: ASCOM DSLR Treiber Canon 40D

#6

Post by Seppel_Canon »

This ist the resullt from the ASCOM DSLR Test
DSLR test a.JPG
DSLR test a.JPG (19.25 KiB) Viewed 14424 times
Attachments
DSLR test b.JPG
DSLR test b.JPG (23.99 KiB) Viewed 14424 times
User avatar
admin
Site Admin
Posts: 13876
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: ASCOM DSLR Treiber Canon 40D

#7

Post by admin »

Hi,

the log seems to have a lot of messages about the camera not being connected, some of them seeming to relate to code like 'ScanForCameras' in the ASCOM.DSLR driver. So, I am thinking that the ASCOM.DSLR driver is not detecting the camera at all. Have you installed the Canon Windows drivers on the second machine? Does the camera show up in Windows device manager in the same way that it does on the machine that works.

thanks,

Robin
Seppel_Canon
Posts: 6
Joined: Sat Jun 17, 2023 11:48 am

Re: ASCOM DSLR Treiber Canon 40D

#8

Post by Seppel_Canon »

Hello Robin. The same Windows driver is installed on both computers. On both computers the camera appears to be working. I have now also installed the same ASCOM platform. The only difference is the version of SharpCAP. But I also think that the problem is with the ASCOM driver.
Greetings Nic
Mrcloc
Posts: 1
Joined: Mon Nov 20, 2023 11:16 am

Re: ASCOM DSLR Treiber Canon 40D

#9

Post by Mrcloc »

I had a similar problem with an astro camera. Try a different USB cable.
Post Reply