New ASCOM Alpaca Camera
Posted: Thu Jul 13, 2023 3:41 pm
Hi,
I've written a new ASCOM Alpaca driver for a Raspberry Pi camera and it works fine in ASCOM Conform, CCD-Ciel, NINA, and PHD2, yet Sharpcap doesn't want to show an image.
The log files say:-
Info 16:38:31.893668 #1 Starting preview on Raspberry Pi Camera [IMX477] in void SharpCap.MultiCaptureProvider.StartPreview()
Info 16:38:31.899698 #1 Started void SharpCap.Base.CaptureProviderBase<T>.StartPreview() in void SharpCap.Base.CaptureProviderBase<T>.StartPreview()
Info 16:38:31.925685 #1 Starting Preview on Raspberry Pi Camera [IMX477], 2028x1520, Bayer_BGGR, 16bits in Live mode. in void SharpCap.Base.CaptureProviderBase<T>.StartPreview()
...
Warning 16:38:47.663686 #38 Dropping frame due to pixel count mismatch - 2d source array, source had 3082560 pixels, dest 1 in bool SharpCap.Cameras.ASCOM.NewCameraProxy.ValidateDataSize(Array source, BufferFrame target)
However, the pixel count that it reports in the logs is correct for the resolution & binning mode. How can debug this further?
Thanks
I've written a new ASCOM Alpaca driver for a Raspberry Pi camera and it works fine in ASCOM Conform, CCD-Ciel, NINA, and PHD2, yet Sharpcap doesn't want to show an image.
The log files say:-
Info 16:38:31.893668 #1 Starting preview on Raspberry Pi Camera [IMX477] in void SharpCap.MultiCaptureProvider.StartPreview()
Info 16:38:31.899698 #1 Started void SharpCap.Base.CaptureProviderBase<T>.StartPreview() in void SharpCap.Base.CaptureProviderBase<T>.StartPreview()
Info 16:38:31.925685 #1 Starting Preview on Raspberry Pi Camera [IMX477], 2028x1520, Bayer_BGGR, 16bits in Live mode. in void SharpCap.Base.CaptureProviderBase<T>.StartPreview()
...
Warning 16:38:47.663686 #38 Dropping frame due to pixel count mismatch - 2d source array, source had 3082560 pixels, dest 1 in bool SharpCap.Cameras.ASCOM.NewCameraProxy.ValidateDataSize(Array source, BufferFrame target)
However, the pixel count that it reports in the logs is correct for the resolution & binning mode. How can debug this further?
Thanks