Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indi_sv305_ccd: Native file format can be selected, but the driver does not support Native. #665

Closed
jctk opened this issue Sep 29, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@jctk
Copy link
Contributor

jctk commented Sep 29, 2022

Describe the bug
"Native" format can be selected in the Ekos camera module.
When Native format is selected and a picture is taken, the camera terminates abnormally the second time.

To Reproduce

  1. Select Native format in the Ekos camera module.
  2. Capture a shot with the "Capture a perview" button.
  3. Fits viewer is not displayed.
  4. Capture a shot with the "Capture a perview" button again.
  5. indi_sv305_ccd and KStars terminates abnormally.

Expected behavior
"Native" format does not appear as an option. Or, it is possible to shoot in "Native" format.

Screenshots
image

Desktop (please complete the following information):

  • OS: INDI Server work on Raspberry PI 4B Stellarmate OS
  • OS: KStars works on Windows 11.
  • INDI Version 1.9.7 and 1.9.8

Log Files
log_21-16-22.txt

@jctk jctk added the bug Something isn't working label Sep 29, 2022
@jctk
Copy link
Contributor Author

jctk commented Sep 29, 2022

This issue was reproduced in indi_asi_ccd as well.

@jctk
Copy link
Contributor Author

jctk commented Sep 30, 2022

Hi, @knro

I don't know what 'Native' format is.
Is the data output by the Camera driver directly into a file ?

@knro
Copy link
Collaborator

knro commented Oct 2, 2022

Yes it's how you encode the data. Native means whatever the driver deems. For some DSLR cameras, it captures in JPG and you can encode it as either FITS or native JPG and send as-is. For ASI and SV cameras, there is no native, native would be just raw data which cannot be read.

We should probably add a method to remove "Native" from the available selections for some drivers.

@knro
Copy link
Collaborator

knro commented Oct 2, 2022

A simple trick now that might EncodeFormatSP.nsp = 1 in UpdateProperties()

@jctk
Copy link
Contributor Author

jctk commented Oct 2, 2022

We should probably add a method to remove "Native" from the available selections for some drivers.

Yes, I agree with you.

A simple trick now that might EncodeFormatSP.nsp = 1 in UpdateProperties()

I will try sonn it.
Thanks !

@knro knro closed this as completed Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants