ZWO Errors

Issue #975 closed
Rob Olson created an issue

1.11 Nightly

ZWO ASI1600mm unexpectedly failing in the middle of a sequence after hours of working great.

Camera settings in NINA are for Gain 200/offset 50, but overridden in the Smart Exposure sequence for 139/21.

USB limit 40

Camera is failing to expose or somehow communicate with NINA during the exposure/saving.

Abridged log attached and specifically captured below.

2021-11-07T21:42:56.5125|ERROR|ASICamera.cs|SetControlValue|621|Error occurred during set of ASI Control Value ASI_OFFSET:
ZWOptical.ASISDK.ASICameraException: Error 'ASI_ERROR_GENERAL_ERROR' from call to
ASISetControlValue(cameraId=0, controlType=ASI_OFFSET, value=21, auto=False)
at ZWOptical.ASISDK.ASICameraDll.CheckReturn(ASI_ERROR_CODE errorCode, MethodBase callingMethod, Object[] parameters) in E:\Projects\nina\NINA.Equipment\SDK\CameraSDKs\ASISDK\ASICameraDll.cs:line 306
at ZWOptical.ASISDK.ASICameraDll.SetControlValue(Int32 cameraId, ASI_CONTROL_TYPE controlType, Int32 value, Boolean auto) in E:\Projects\nina\NINA.Equipment\SDK\CameraSDKs\ASISDK\ASICameraDll.cs:line 349
at NINA.Equipment.Equipment.MyCamera.ASICamera.SetControlValue(ASI_CONTROL_TYPE type, Int32 value) in E:\Projects\nina\NINA.Equipment\Equipment\MyCamera\ASICamera.cs:line 615
2021-11-07T21:42:56.5314|INFO|CameraVM.cs|Capture|712|Starting Exposure - Exposure Time: 120s; Filter: ; Gain: 139; Offset 21; Binning: 1x1;
2021-11-07T21:44:57.0084|ERROR|ASICamera.cs|DownloadExposure|407|ASI: Camera reported unsuccessful exposure: ASI_EXP_FAILED
2021-11-07T21:44:57.0084|ERROR|ImagingVM.cs|CaptureImage|228
NINA.Equipment.Exceptions.CameraDownloadFailedException: Camera download failed. Exposure details: Exposure time: 120, Type: LIGHT, Gain: 139, Filter:
2021-11-07T21:44:57.0084|ERROR|SequenceItem.cs|Run|222|Category: Camera, Item: TakeExposure, ExposureTime 120, Gain 139, Offset 21, ImageType LIGHT, Binning 1x1 -
System.NullReferenceException: Object reference not set to an instance of an object.
at NINA.Sequencer.SequenceItem.Imaging.TakeExposure.<Execute>d__44.MoveNext() in E:\Projects\nina\NINA.Sequencer\SequenceItem\Imaging\TakeExposure.cs:line 188
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NINA.Sequencer.SequenceItem.SequenceItem.<Run>d__64.MoveNext() in E:\Projects\nina\NINA.Sequencer\SequenceItem\SequenceItem.cs:line 213
2021-11-07T21:44:57.0084|ERROR|SequenceItem.cs|RunErrorBehavior|182|Instruction failed after 1 attempt. Error behavior is set to ContinueOnError. Continuing.

Comments (6)

  1. Dale Ghent

    The ZWO SDK is reporting two errors: ASI_EXP_FAILED for exposures, and ASI_ERROR_GENERAL_ERROR which is a non-specific catch-all status code that the ZWO SDK tends to use when something with the camera has gone awry such as connection issues.

    NINA’s not at fault here; it’s usually something related to a bad USB connection. Our standard advice here is to use high quality USB cables instead of the ZWO-supplied flat style USB cable, make sure they are under 2m in length, and to secure the cables so that the connectors on the camera are not taking on the mechanical strain if the cables are being pulled by mount movements, such as during a meridian flip.

  2. Rob Olson reporter

    Thanks Dale. Any additional guidance on where to look for a high quality usb cable, or what traits might make it ‘high quality’? Thanks again!

  3. Dale Ghent

    At the risk of sounding like an advertisement for them, I personally have had success with USB cables from L-Com, who have a wide variety including high-flex and various angled connector species. I’m not aware of such specialty cable vendors outside the US. You may want to look at cables from Tripp-Lite or StarTech as well.

  4. Log in to comment