ZWO ASI 1600 Native Driver image download time

Dear Folks, happy to have the 3.0v, with the native support for ZWO cameras. I have been testing the driver and seems to work (of course some suggestions about parameters etc… would come), but I found the download time of the images (arround 23sec using USB3, image history disabled) is still very high (even slightly better than with the ASCOM driver).

As with this kind of modern CMOS cameras the exposure times use to be short (usually few seconds) but you need to integrate many Subs (hundreds), the elapsed time during download is very relevant (you spend more time downloading than imaging…).

Not sure if this feature is something you are working on, but should be very important to be improved. I did some test with other imaging software using native support and the download times are really short (1-2 sec) in the same conditions.

There is something I am doing wrong or in fact the download times are arround 20-25sec? If this is the case should we expect some future improvements?

1 Like

Something isnt right with this. My testing shows the files downloading in 190-ish milliseconds.

[01/27/18 12:55:19.534][DEBUG] [Camera Thread] Starting ZWO Capture for 300.00 Seconds
[01/27/18 12:55:19.534][DEBUG] [Sequence Thread] EventMarker 13 - t:Target 1 (0); e:0; f:0; o:
[01/27/18 13:00:19.658][DEBUG] [Sequence Thread] EventMarker 15 - t:Target 1 (0); e:0; f:0; o:
[01/27/18 13:00:19.663][DEBUG] [Sequence Thread] Waking from exposure time sleep period…
[01/27/18 13:00:19.665][DEBUG] [Sequence Thread] Checking to see if the CCD has a temp…
[01/27/18 13:00:19.665][DEBUG] [Sequence Thread] Saving the CCD temp…
[01/27/18 13:00:19.672][DEBUG] [Sequence Thread] Entering super dangerous loop to await image completion…
[01/27/18 13:00:19.675][DEBUG] [Sequence Thread] EventMarker 16 - t:Target 1 (0); e:0; f:0; o:
[01/27/18 13:00:20.814][DEBUG] [Camera Thread] ZWO Capture completed in 301024 mS
[01/27/18 13:00:21.011][DEBUG] [Camera Thread] ZWO Download Completed in 196 mS
[01/27/18 13:00:21.011][DEBUG] [Camera Thread] SGM_CAMERA_CAPTURE complete…

Thanks rockstar!!!

You are totally right, looking carefully the log, in my case the download time is 849ms, but the total time for a 5sec capture is 25sec (see the complete log for the capture below)…

What is increasing the time are:

BYTE TRANSVERSAL -> 1,5sec
[01-28-18 11:06:33.683][DEBUG] [Sequence Thread] SaveFileAscom: Starting byte traversal…
[01-28-18 11:06:35.244][DEBUG] [Sequence Thread] SaveFileAscom: Unlocking preview bits…

TRAVERSING AND PERSISTING BITMAP -> 14sec
[01-28-18 11:06:35.252][DEBUG] [Sequence Thread] SaveFileBmp16: Traversing and persisting bitmap data…
[01-28-18 11:06:49.201][DEBUG] [Sequence Thread] SaveFileBmp16: FITS block fill…

DISPLAYING IMAGE ->2sec
[01-28-18 11:06:49.234][DEBUG] [Sequence Thread] Display image preview using asynch task…
[01-28-18 11:06:52.535][DEBUG] [Sequence Thread] SaveFileAscom: Done

Sorry if is a stupid question, I am new in SGPro, are those times usual (I am using a INTEL STICK PC)? any clue to avoid/reduce those times?

Thanks

[01-28-18 11:06:27.323][DEBUG] [Sequence Thread] ------------- Starting capture frame for event[0] -------------
[01-28-18 11:06:27.335][DEBUG] [Sequence Thread] Sending commands…
[01-28-18 11:06:27.335][DEBUG] [Sequence Thread] SetFlatBox: Frame Type is Light
[01-28-18 11:06:27.335][DEBUG] [Sequence Thread] EventMarker 2 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.335][DEBUG] [Sequence Thread] Checking if Meridian Flip is needed
[01-28-18 11:06:27.338][DEBUG] [Sequence Thread] Meridian flip not needed, telescope on East side
[01-28-18 11:06:27.338][DEBUG] [Sequence Thread] EventMarker 3 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.347][DEBUG] [Sequence Thread] EventMarker 4 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.347][DEBUG] [Sequence Thread] Setting filter position 1…
[01-28-18 11:06:27.347][DEBUG] [Sequence Thread] Filter position 1 is already set. Skipping…
[01-28-18 11:06:27.347][DEBUG] [Sequence Thread] EventMarker 5 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.347][DEBUG] [Sequence Thread] Checking for auto manual focus (pre)…
[01-28-18 11:06:27.347][DEBUG] [Sequence Thread] EventMarker 6 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.349][DEBUG] [Sequence Thread] Created base name for frame capture: Target 1_2018-01-27_Light_L_5sec_ZWO Camera_gain_NAcg_-9C_1x1__frame3
[01-28-18 11:06:27.349][DEBUG] [Sequence Thread] Created directory for frame capture: D:\ASTROPHOTOS\2018-01-27\Light\L
[01-28-18 11:06:27.349][DEBUG] [Sequence Thread] EventMarker 1 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.351][DEBUG] [Sequence Thread] EventMarker 7 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.353][DEBUG] [Sequence Thread] EventMarker 8 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.353][DEBUG] [Sequence Thread] EventMarker 9 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.353][DEBUG] [Sequence Thread] EventMarker 10 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.353][DEBUG] [Sequence Thread] Finished sending frame capture. Entering wait mode…
[01-28-18 11:06:27.353][DEBUG] [Sequence Thread] EventMarker 11 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.355][DEBUG] [Sequence Thread] EventMarker 12 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:27.358][DEBUG] [Camera Thread] SGM_CAMERA_CAPTURE message received…
[01-28-18 11:06:27.358][DEBUG] [Camera Thread] Starting ZWO Capture for 5,00 Seconds
[01-28-18 11:06:27.377][DEBUG] [Sequence Thread] EventMarker 13 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:32.601][DEBUG] [Sequence Thread] EventMarker 15 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:32.605][DEBUG] [Sequence Thread] Waking from exposure time sleep period…
[01-28-18 11:06:32.609][DEBUG] [Sequence Thread] Checking to see if the CCD has a temp…
[01-28-18 11:06:32.609][DEBUG] [Sequence Thread] Saving the CCD temp…
[01-28-18 11:06:32.627][DEBUG] [Sequence Thread] Entering super dangerous loop to await image completion…
[01-28-18 11:06:32.633][DEBUG] [Sequence Thread] EventMarker 16 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:32.741][DEBUG] [Camera Thread] ZWO Capture completed in 5344 mS
[01-28-18 11:06:33.590][DEBUG] [Camera Thread] ZWO Download Completed in 849 mS
[01-28-18 11:06:33.591][DEBUG] [Camera Thread] SGM_CAMERA_CAPTURE complete…
[01-28-18 11:06:33.639][DEBUG] [Sequence Thread] EventMarker 17 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:33.639][DEBUG] [Sequence Thread] Image reported as complete. Continuing…
[01-28-18 11:06:33.641][DEBUG] [Sequence Thread] Collecting FITs headers…
[01-28-18 11:06:33.641][DEBUG] [Sequence Thread] DATE-LOC time provided by SGPro (failed to retrieve valid entry from camera)…
[01-28-18 11:06:33.651][DEBUG] [Sequence Thread] GatherFitsHeaders: Writing header info for last solve…
[01-28-18 11:06:33.651][DEBUG] [Sequence Thread] GatherFitsHeaders: Writing header info from UI…
[01-28-18 11:06:33.652][DEBUG] [Sequence Thread] Clearing timed monitoring events…
[01-28-18 11:06:33.653][DEBUG] [Sequence Thread] Created full file name (file does not exist): D:\ASTROPHOTOS\2018-01-27\Light\L\Target 1_2018-01-27_Light_L_5sec_ZWO Camera_gain_NAcg_-9C_1x1__frame3.fit
[01-28-18 11:06:33.653][DEBUG] [Sequence Thread] SaveFileAscom: Start…
[01-28-18 11:06:33.653][DEBUG] [Sequence Thread] SaveFileAscom: Checking image data…
[01-28-18 11:06:33.653][DEBUG] [Sequence Thread] SaveFileAscom: Create normal preview bitmap…
[01-28-18 11:06:33.683][DEBUG] [Sequence Thread] SaveFileAscom: Locking preview bits…
[01-28-18 11:06:33.683][DEBUG] [Sequence Thread] SaveFileAscom: Validating file name…
[01-28-18 11:06:33.683][DEBUG] [Sequence Thread] SaveFileAscom: Starting byte traversal…
[01-28-18 11:06:35.244][DEBUG] [Sequence Thread] SaveFileAscom: Unlocking preview bits…
[01-28-18 11:06:35.244][DEBUG] [Sequence Thread] SaveFileAscom: Saving preview bitmap to disk…
[01-28-18 11:06:35.244][DEBUG] [Sequence Thread] SaveFileBmp16: Locking bitmap for disk write…
[01-28-18 11:06:35.244][DEBUG] [Sequence Thread] SaveFileBmp16: Opening file stream…
[01-28-18 11:06:35.250][DEBUG] [Sequence Thread] SaveFileBmp16: Writing FITS headers…
[01-28-18 11:06:35.252][DEBUG] [Sequence Thread] SaveFileBmp16: Traversing and persisting bitmap data…
[01-28-18 11:06:49.201][DEBUG] [Sequence Thread] SaveFileBmp16: FITS block fill…
[01-28-18 11:06:49.203][DEBUG] [Sequence Thread] SaveFileBmp16: Unlocking bitmap…
[01-28-18 11:06:49.203][DEBUG] [Sequence Thread] SaveFileBmp16: Closing file stream
[01-28-18 11:06:49.234][DEBUG] [Sequence Thread] SaveFileAscom: Displaying image preview in UI…
[01-28-18 11:06:49.234][DEBUG] [Sequence Thread] Internal Interface: Set Preview…
[01-28-18 11:06:49.234][DEBUG] [Sequence Thread] Display image preview using asynch task…
[01-28-18 11:06:52.535][DEBUG] [Sequence Thread] SaveFileAscom: Done
[01-28-18 11:06:52.548][DEBUG] [Sequence Thread] EventMarker 18 - t:Target 1 (0); e:0; f:2; o:
[01-28-18 11:06:52.563][DEBUG] [Sequence Thread] EventMarker 19 - t:Target 1 (0); e:0; f:3; o:
[01-28-18 11:06:52.563][DEBUG] [Sequence Thread] EventMarker 20 - t:Target 1 (0); e:0; f:3; o:
[01-28-18 11:06:52.563][DEBUG] [Sequence Thread] Running post event…
[01-28-18 11:06:52.564][DEBUG] [Sequence Thread] EventMarker 21 - t:Target 1 (0); e:0; f:3; o:
[01-28-18 11:06:52.586][DEBUG] [Sequence Thread] Incremented numComplete (3) for event[0]…
[01-28-18 11:06:52.600][DEBUG] [Sequence Thread] Attempting to find next event…
[01-28-18 11:06:52.600][DEBUG] [Sequence Thread] Current event[0] frame count: 3/5…
[01-28-18 11:06:52.600][DEBUG] [Sequence Thread] Current event event[0] has remaining frames. Returning current event.
[01-28-18 11:06:52.600][DEBUG] [Sequence Thread] Checking for auto manual focus (post)…
[01-28-18 11:06:52.601][DEBUG] [Main Thread] PopulateDataModel: Transferring view to the data model…
[01-28-18 11:06:52.611][DEBUG] [Sequence Thread] Attempting to move to next event…
[01-28-18 11:06:52.611][DEBUG] [Sequence Thread] Attempting to find next event…
[01-28-18 11:06:52.611][DEBUG] [Sequence Thread] Current event[0] frame count: 3/5…
[01-28-18 11:06:52.611][DEBUG] [Sequence Thread] Current event event[0] has remaining frames. Returning current event.
[01-28-18 11:06:52.611][DEBUG] [Sequence Thread] Running pre event…
[01-28-18 11:06:52.658][DEBUG] [Sequence Thread] Running capture event…
[01-28-18 11:06:52.662][DEBUG] [Sequence Thread] ------------- Starting capture frame for event[0] -------------

There are certainly some areas that need performance improvements in SGP. It was primarily designed for CCD imaging where a few more seconds over a 20 minute frame don’t matter too much.

Having said that we will be making some performance improvements to speed up save and display. Hopefully in 3.0.

Thanks,
Jared

I’ve noticed the same thing. I routinely see ~750-800ms download using the native ASI driver in SGPv3 on a CS125 Compute Stick with my ASI1600MM-Pro.

For reference, I see much faster (near instant) download times in SharpCap, PHD2, or Firecapture with the same camera on the same computer.

As Jared mentioned, if I were only taking 20 minute exposures, it wouldn’t matter. But now that exposures are getting into the seconds, the download times are starting to add up.

I also welcome the native support; I’m just adding my voice and what I’ve seen.

Well until the SDK is updated to the latest version (which should be what SharpCap uses) we really should not compare the performance of the two native implementations.

You should be able to drop the DLLs from sharpcap or directly from the ZWO download, overwriting the SGP version (you should copy the 32 bit variant).

Thanks,
Jared

1 Like

Actually on second thought, it would not hurt to try. Just to be clear, the x86 variant of the DLL is what needs to be dropped into the SGP directory?

Did you try this yet?

Yes I did.

The temperature settings seem to still be unstable. Not sure I mentioned this last time I talked about the native driver but it seems to read incorrectly. Anyhow, the replacement of the DLL did result in the camera operating better. I had consistent results with the native driver that I did with ASCOM, other than total imaging throughput. I did a set of 100 bias frames and they took 5 minutes in total to take. For CCD users, that would be awesome! But… for CMOS folks that is worse than you can get with ASCOM and worse than you can get with something like SharpCap with its native mode operation (which beats ASCOM hands down).

So the driver change is useful, but I think the implementation here still needs some work. To be fair to the SGP devs, they called this beta – although to be fair to the software development world, this is not a beta. This is more like an untested alpha.

1 Like

Extremely interested in this thread. I’m using the ZWO 1600mm-cool version, sounds like you have the same or the OSC version maybe?

I also recently attempted to switch my imaging PC from an ASUS laptop to my old Microsoft Surface. Everything worked except that when I would try to download an image from the 1600 I would get a black image. Later I discovered that if I disconnected from the camera, swapped between the ASCOM driver and native ZWO Camera, reconnected, the first image taken would download. The next back to a black screen. Then rinse and repeat with disconnect / swap driver / reconnect and take one frame and focus and the first image would work and the next back to black.

I swapped back to using the ASUS laptop.

I originally assumed it was because of only having one USB port on the surface, that maybe the Orion StarShoot and the ZWO were not liking being on the same connection. Now I’m curious if it wasn’t maybe some kind of timeout.

Dear Jared,

I know should be difficult to say, but do you have any time frame in mind to improve it?

Yesterday I was imaging and just for 16min integration, it took more than 1 1/2 hours, which is a real pain… I makes almost impossible to image one RGB target in a single night.

Thanks a lot for your help

plus 1 !!! I also have some connection issues I posted in another thread.

It is because the offset is not configurable.

I hope to firm things up with the native ZWO implementation over the NEAIC/NEAF time span since I’ll have some free-ish evenings. This will only really help with the offset and other configuration options and NOT the speed issues. Essentially adding a settings dialog for offset, no “gain per target” either. To resolve the speed issues is going to take a good deal more time and it’s more of an architectural issue with how data comes off of the camera at the moment.

Thanks,
Jared

1 Like

Thanks Jared. I would love to get a pre-release to test with offset support. I am actually trying to troubleshoot an issue with the 183MM camera, and want to test Native vs ASCOM mode.