Capture profile could not be loaded correctly

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
StarFlea
Posts: 176
Joined: Wed Dec 21, 2022 12:22 pm

Capture profile could not be loaded correctly

#1

Post by StarFlea »

Hi Robin,

Yesterday, while revising my profile files, I encountered a small issue.

When using my veTEC571c, if I try to load a profile with 2x2 binning (resolution 3104x2084) followed by a profile with 1x1 binning (resolution 6224x4168), I consistently receive the error message: "The capture profile could not be loaded correctly. The problem were: Setting Capture Area to 6224x4168."
If I load the profiles in the reverse order, no issue occurs. This problem is reproducible.

I suspect the issue lies in the sequence in which the settings from the profile files are read or loaded: the "Capture Area" is processed first, followed by the "Binning." When this sequence results in a transition from a smaller capture area to a larger one, the error is triggered.

Would it be possible to change the order so that the "Binning" is applied before the "Capture Area"?

cheers,
Flo
Attachments
DeepSky 0,5s 5000 (veTEC 2x2) (ATR2600C).ini
(2.16 KiB) Not downloaded yet
DeepSky 0,5s 5000 (veTEC 1x1) (ATR2600C).ini
(2.16 KiB) Not downloaded yet
User avatar
admin
Site Admin
Posts: 17587
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Capture profile could not be loaded correctly

#2

Post by admin »

Hi Flo,

I entirely agree with you about the load order being the likely cause... Or at least I did until I went and looked at the code and can see that it is already set up to delay loading the resolution until after the binning has been set! I will have to debug this and see if maybe that isn't working as it should or if there is some other gotcha preventing the new resolution from loading properly.

cheers,

Robin
Post Reply