ASI SDK Issue
Hy Murveit
murveit at gmail.com
Sun Jun 9 04:40:36 BST 2024
TL;DR I tried again and it failed again (though after a little while--it
got 25+ exposures OK before failing).
Then I tried with the ZWO program asi_camera_test and it also failed there.
When I switched back to the previous ZWO software I had no issues, all
worked.
I believe there's an issue with the new ZWO software and ASI1600 cameras.
Can you ask ZWO?
Details:
I don't know what ASIStudio is, but there is a program
called asi_camera_test in the indi-3rdparty/indi-asi directory.
Repeating tonight.
Instead of bothering with my LED panel, I tried shooting "Sky Flats" in the
eastern sky around sunset.
It successfully shot all 25 flats with my L filter, but when it started
shooting the R flats it failed, just like yesterday.
(The L exposures were .2, .02, .002, .0025, .00431, and then it passed the
ADU test and took 24 more at .00431).
Then it started with L at .2 seconds, and failed three times and quit.
Indi panel on my asi1600 driver says:
2024-06-09T02:55:01: [ERROR] Exposure failed after 3 attempts.
2024-06-09T02:54:55: [ERROR] Exposure failed after 3 attempts.
2024-06-09T02:54:50: [ERROR] Exposure failed after 3 attempts.
At this point I stopped KStars and went to the program asi_camera_test that
was built in the indi-3rdparty/indi-asi directory.
The output is below (seems to have FAILED running a 0.1s exposure).
______________________________________________________________
> ./asi_camera_test
attached cameras:
0 ZWO ASI1600MM Pro
serial number for 0: 1614120405080900
1 ZWO ASI1600MM Pro
serial number for 1: 091383041f070900
select one to preview
0
ZWO ASI1600MM Pro information
resolution:4656X3520
Mono camera
Gain
Exposure
Offset
BandWidth
Flip
AutoExpMaxGain
AutoExpMaxExpMS
AutoExpTargetBrightness
HardwareBin
HighSpeedMode
PatternAdjust
Temperature
CoolPowerPerc
TargetTemp
CoolerOn
sensor temperature:0.000000
Image Formats:
Format #0 : RAW 8-bit
Format #1 : RGB 24-bit
Please input the <width height bin format> with one space, ie. 640 480 2 0.
Leave w/h to zero to use maximum.
0 0 1 1
set image format 4656 3520 1 1 success, Will capture now a 100ms image.
Failed to capture an image: 3
ASI Camera Test completed successfully
______________________________________________________________
When I look at the source code for the "Failed to capture an image: 3", the
3 is the ASI_EXPOSURE_STATUS output of
from /usr/include/libasi/ASICamera2.h which just says:
ASI_EXP_FAILED,//:exposure failed, you need to start exposure again
I guess I can conclude from that that it isn't KStars/Ekos. It may be my
cameras, I suppose, but given that things work with the old SDK, I doubt it.
BTW, after all that I tried again (repeating the same thing from the start).
It didn't capture anything in the Flats section, failed right away.
Ran asi_camera_test, failed same way again.
Then I ran 'git checkout' on the submit before the ASI API update, and
recompiled/reinstalled indi, and ran again.
Everything worked perfectly well, all 175 flat exposures and the
asi_camera_test program--no issues!
Seems to me it's clearly the new ZWO software.
Do you have a way to ask ZWO?
Hy
On Sat, Jun 8, 2024 at 11:51 AM Jarno Paananen <jarno.paananen at gmail.com>
wrote:
> Hi Hy,
>
> I haven't heard of issues with the new SDK and my ASI178MC and 120MM-S
> work normally as far as I can tell. Have you tried if ASIStudio works for
> you? It uses the same SDK so it would give some indication if the issue is
> there, the INDI driver itself hasn't changed for some time. Unfortunately
> there isn't much we can do about the SDK except use an older version and
> possibly lose support for some of the newer cameras. ASI1600 is a bit of an
> oddity in the ASI product line as it uses a Panasonic sensor instead of a
> Sony one like most of the others do (120 and 220 also use non-Sony sensors,
> though not Panasonic either) so it might be they broke something (again)...
>
> On Sat, Jun 8, 2024 at 8:39 AM Hy Murveit <murveit at gmail.com> wrote:
>
>> Jarno, Jasem,
>>
>> I am concerned about the recent ASI SDK release.
>> I just tried capturing flats with Ekos and got repeated failures with
>> short exposures.
>> I reverted indi-3rdparty to the commit just before this SDK release,
>> recompiled and installed indi and had no issues. I went back to HEAD and
>> had the same issue, and back to before the new ASI SDK and had issues again.
>>
>> I tested with my ASI1600 mm pro camera.
>> I replicated with a second ASI1600 mm pro camera.
>>
>> Have you or any others had reports of issues like this?
>>
>> Hy
>>
>> PS This is the commit I'm talking about, so to run without it I ran this
>> in indi-3rdparty
>> > git checkout 68b8f5060f4a90bd460bb9333cea45c394040765
>> and then compiled and installed all of indi as usual, then recompiled
>> kstars.
>>
>>
>> commit 3fef15c60b5f5a097af0ae93dd12a664580f635c
>> Author: Jarno Paananen <jarno.paananen at gmail.com>
>> Date: Sat Dec 2 07:09:56 2023 +0200
>>
>> ASI Camera SDK 1.32 release (#858)
>>
>>
>> From the KStars log:
>>
>> [2024-06-07T22:16:44.494 PDT DEBG ][ org.kde.kstars.ekos.guide] -
>> Reset non guiding dithering position
>> [2024-06-07T22:16:46.214 PDT DEBG ][ org.kde.kstars.ekos.capture] -
>> Capture State changes from "Idle" to "In Progress"
>> [2024-06-07T22:16:46.215 PDT DEBG ][ org.kde.kstars.ekos.capture] -
>> Preparing capture job
>> "/home/pi/mydisk/Flats/Flat/Flat/Green/Flat_Flat_Green_0.500_secs_\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d-\\d\\d-\\d\\d"
>> for execution.
>> [2024-06-07T22:16:46.217 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Job requires 0.500-second Green images, has 0/25 frames captured and will
>> be processed."
>> [2024-06-07T22:16:46.367 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capture exposure = 0.5 sec, type = Flat, filter = Green, upload mode = 0,
>> batch mode = true, seq prefix = Flat_Flat_Green_0.500_secs, gain = 75,
>> format = Raw 16 bit, encoding = FITS, binning = 1x1, ROI = (0+4656, 0+4656)"
>> [2024-06-07T22:16:46.367 PDT DEBG ][ org.kde.kstars.ekos.capture] -
>> Capture State changes from "In Progress" to "Capturing"
>> [2024-06-07T22:16:46.367 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capturing 0.500-second Green image..."
>> [2024-06-07T22:16:52.514 PDT INFO ][ org.kde.kstars.indi] - ZWO
>> CCD asi1600-imager : "[ERROR] Exposure failed after 3 attempts. "
>> [2024-06-07T22:16:52.514 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capture failed. Check INDI Control Panel for details."
>> [2024-06-07T22:16:52.520 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Restarting capture attempt #1"
>> [2024-06-07T22:16:52.526 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capture exposure = 0.5 sec, type = Flat, filter = Green, upload mode = 0,
>> batch mode = true, seq prefix = Flat_Flat_Green_0.500_secs, gain = 75,
>> format = Raw 16 bit, encoding = FITS, binning = 1x1, ROI = (0+4656, 0+4656)"
>> [2024-06-07T22:16:52.526 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capturing 0.500-second Green image..."
>> [2024-06-07T22:16:58.044 PDT INFO ][ org.kde.kstars.indi] - ZWO
>> CCD asi1600-imager : "[ERROR] Exposure failed after 3 attempts. "
>> [2024-06-07T22:16:58.045 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capture failed. Check INDI Control Panel for details."
>> [2024-06-07T22:16:58.050 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Restarting capture attempt #2"
>> [2024-06-07T22:16:58.056 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capture exposure = 0.5 sec, type = Flat, filter = Green, upload mode = 0,
>> batch mode = true, seq prefix = Flat_Flat_Green_0.500_secs, gain = 75,
>> format = Raw 16 bit, encoding = FITS, binning = 1x1, ROI = (0+4656, 0+4656)"
>> [2024-06-07T22:16:58.056 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capturing 0.500-second Green image..."
>> [2024-06-07T22:17:03.509 PDT INFO ][ org.kde.kstars.indi] - ZWO
>> CCD asi1600-imager : "[ERROR] Exposure failed after 3 attempts. "
>> [2024-06-07T22:17:03.509 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "Capture failed. Check INDI Control Panel for details."
>> [2024-06-07T22:17:03.519 PDT INFO ][ org.kde.kstars.ekos.capture] -
>> "CCD capture stopped"
>> [2024-06-07T22:17:03.523 PDT DEBG ][ org.kde.kstars.ekos.capture] -
>> Capture State changes from "Capturing" to "Aborted"
>>
>>
>>
>
> --
> // Jarno
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20240608/36ac78d6/attachment.htm>
More information about the Kstars-devel
mailing list