Page 1 of 1

Folder Camera with single file?

Posted: Thu Jun 23, 2022 10:51 am
by ChrisR Oz
Hi Robin,

I don't seem to be able to coax a Folder Camera to show me a single file folder. Click on advance, rewind, pause, play, even the new button (replay current frame), but it doesn't want to show the only file there.

Folder Camera controls with an extra button
Folder Camera controls with an extra button
Folder issue.JPG (22.37 KiB) Viewed 513 times

Any tips?

I put it under bugs, as you would think that in this case (single file), it should just show that one, with the option to "replay" just that one.
Cheers, Chris.

P.S. I wanted to try the cool new plate-solve from a file (using FITS header metadata) feature ...

Re: Folder Camera with single file?

Posted: Thu Jun 23, 2022 1:21 pm
by admin
Hi Chris,

weird, works for me...

Click browse, click on the single file in the folder, click the 'All .xxx Files' button. Then the image shows and pressing the 'repeat' button increments the 'Previewing XX frames' count at the bottom left, so it is all working. Must be something that is slightly different in the way you are doing it maybe? If you are still stuck then send a log and I will see what that says.

cheers,

Robin

Re: Folder Camera with single file?

Posted: Sat Jun 25, 2022 1:58 am
by ChrisR Oz
Interesting. I do the same (SC 4.0.9063) and I get this, immediately after file selection (no image is displayed and blank "current frame") ...

after file select
after file select
Folder issue2.JPG (23.18 KiB) Viewed 491 times

OK, found the issue. I created the FITS file from PI, which defaulted to 32 bit floating point. Switching to 16 bit unsigned integers and it now works.

Seems that errors in any FITS files are silently ignored.
Cheers, Chris.

Re: Folder Camera with single file?

Posted: Sat Jun 25, 2022 12:36 pm
by admin
Hi Chris,

I will have to test - from the code it looks like there should be a warning in the log at the minimum saying that the file could not be loaded. The idea of not having it too intrusive was to make sure that if you had a bad file in among 50 good ones, you didn't get stopped from working, but in this case it leaves things a bit of a mystery...

cheers,

Robin