ASI_ERROR_GENERAL_ERROR after meridian flip

Issue #1312 closed
Markus created an issue

Last night I run into some problems with mit ZWO ASI2600MC-P after the meridian flip has finished: each 180s exposure finished after around one second in sequence after the flip. In the NINA log there is a “ASI_ERROR_GENERAL_ERROR” thrown. Disconnecting camera in equipment section and connecting it again solves the problem.

I am using NINA V. 3.0.0.9001 with the built in ZWO drivers (1, 33, 0, 0)

2024-05-14T00:07:45.2502|ERROR|ASICamera.cs|SetControlValue|587|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=70, auto=False)
   at ZWOptical.ASISDK.ASICameraDll.SetControlValue(Int32 cameraId, ASI_CONTROL_TYPE controlType, Int32 value, Boolean auto) in C:\Projects\nina\NINA.Equipment\SDK\CameraSDKs\ASISDK\ASICameraDll.cs:line 385
   at NINA.Equipment.Equipment.MyCamera.ASICamera.SetControlValue(ASI_CONTROL_TYPE type, Int32 value) in C:\Projects\nina\NINA.Equipment\Equipment\MyCamera\ASICamera.cs:line 580
2024-05-14T00:07:45.2604|INFO|CameraVM.cs|Capture|724|Starting Exposure - Exposure Time: 5s; Filter: UV_IR_Cut_Optolong; Gain: 0; Offset 70; Binning: 1x1;
2024-05-14T00:07:45.2607|ERROR|ImagingVM.cs|CaptureImage|264
ZWOptical.ASISDK.ASICameraException: Error 'ASI_ERROR_GENERAL_ERROR' from call to 
ASISetControlValue(cameraId=0, controlType=ASI_EXPOSURE, value=5000000, auto=False)
   at ZWOptical.ASISDK.ASICameraDll.SetControlValue(Int32 cameraId, ASI_CONTROL_TYPE controlType, Int32 value, Boolean auto) in C:\Projects\nina\NINA.Equipment\SDK\CameraSDKs\ASISDK\ASICameraDll.cs:line 385
   at NINA.Equipment.Equipment.MyCamera.ASICamera.StartExposure(CaptureSequence sequence) in C:\Projects\nina\NINA.Equipment\Equipment\MyCamera\ASICamera.cs:line 469
   at NINA.WPF.Base.ViewModel.Equipment.Camera.CameraVM.Capture(CaptureSequence sequence, CancellationToken token, IProgress`1 progress)
   at NINA.ViewModel.ImagingVM.<>c__DisplayClass38_0.<<CaptureImage>b__0>d.MoveNext() in C:\Projects\nina\NINA\ViewModel\ImagingVM.cs:line 221
2024-05-14T00:07:45.2641|ERROR|AutoFocusVM.cs|StartAutoFocus|282|Failure during AutoFocus
ZWOptical.ASISDK.ASICameraException: Error 'ASI_ERROR_GENERAL_ERROR' from call to 
ASISetControlValue(cameraId=0, controlType=ASI_EXPOSURE, value=5000000, auto=False)
   at ZWOptical.ASISDK.ASICameraDll.SetControlValue(Int32 cameraId, ASI_CONTROL_TYPE controlType, Int32 value, Boolean auto) in C:\Projects\nina\NINA.Equipment\SDK\CameraSDKs\ASISDK\ASICameraDll.cs:line 385
   at NINA.Equipment.Equipment.MyCamera.ASICamera.StartExposure(CaptureSequence sequence) in C:\Projects\nina\NINA.Equipment\Equipment\MyCamera\ASICamera.cs:line 469
   at NINA.WPF.Base.ViewModel.Equipment.Camera.CameraVM.Capture(CaptureSequence sequence, CancellationToken token, IProgress`1 progress)
   at NINA.ViewModel.ImagingVM.<>c__DisplayClass38_0.<<CaptureImage>b__0>d.MoveNext() in C:\Projects\nina\NINA\ViewModel\ImagingVM.cs:line 221
--- End of stack trace from previous location ---
   at NINA.WPF.Base.ViewModel.AutoFocus.AutoFocusVM.TakeExposure(FilterInfo filter, CancellationToken token, IProgress`1 progress) in C:\Projects\nina\NINA.WPF.Base\ViewModel\AutoFocus\AutoFocusVM.cs:line 645
   at NINA.WPF.Base.ViewModel.AutoFocus.AutoFocusVM.TakeExposure(FilterInfo filter, CancellationToken token, IProgress`1 progress) in C:\Projects\nina\NINA.WPF.Base\ViewModel\AutoFocus\AutoFocusVM.cs:line 648
   at NINA.WPF.Base.ViewModel.AutoFocus.AutoFocusVM.GetAverageMeasurementTask(FilterInfo filter, Int32 exposuresPerFocusPoint, CancellationToken token, IProgress`1 progress) in C:\Projects\nina\NINA.WPF.Base\ViewModel\AutoFocus\AutoFocusVM.cs:line 506
   at NINA.WPF.Base.ViewModel.AutoFocus.AutoFocusVM.GetFocusPoints(FilterInfo filter, Int32 nrOfSteps, IProgress`1 progress, CancellationToken token, Int32 offset, Boolean reverse) in C:\Projects\nina\NINA.WPF.Base\ViewModel\AutoFocus\AutoFocusVM.cs:line 551
   at NINA.WPF.Base.ViewModel.AutoFocus.AutoFocusVM.StartAutoFocus(FilterInfo imagingFilter, CancellationToken token, IProgress`1 progress) in C:\Projects\nina\NINA.WPF.Base\ViewModel\AutoFocus\AutoFocusVM.cs:line 185
2024-05-14T00:07:45.2654|WARNING|AutoFocusVM.cs|StartAutoFocus|285|AutoFocus did not complete successfully, so restoring the focuser position to 7413
2024-05-14T00:07:45.2669|INFO|FocuserVM.cs|MoveFocuserInternal|212|Moving Focuser to position 7413
2024-05-14T00:07:49.2215|INFO|MeridianFlipVM.cs|Recenter|269|Meridian Flip - Recenter after meridian flip
2024-05-14T00:07:49.2220|ERROR|ASICamera.cs|SetControlValue|587|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=70, auto=False)
   at ZWOptical.ASISDK.ASICameraDll.SetControlValue(Int32 cameraId, ASI_CONTROL_TYPE controlType, Int32 value, Boolean auto) in C:\Projects\nina\NINA.Equipment\SDK\CameraSDKs\ASISDK\ASICameraDll.cs:line 385
   at NINA.Equipment.Equipment.MyCamera.ASICamera.SetControlValue(ASI_CONTROL_TYPE type, Int32 value) in C:\Projects\nina\NINA.Equipment\Equipment\MyCamera\ASICamera.cs:line 580
2024-05-14T00:07:49.2222|INFO|CameraVM.cs|Capture|724|Starting Exposure - Exposure Time: 5s; Filter: ; Gain: 0; Offset 70; Binning: 1x1;
2024-05-14T00:07:49.5532|ERROR|ASICamera.cs|DownloadExposure|417|ASI: Camera reported unsuccessful exposure: ASI_EXP_FAILED
2024-05-14T00:07:49.5536|ERROR|ImagingVM.cs|CaptureImage|251|Camera download failed - Exposure details: Exposure time: 5, Type: SNAPSHOT, Gain: -1, Filter: 
2024-05-14T00:07:49.5547|ERROR|MeridianFlipVM.cs|DoMeridianFlip|195|Meridian Flip failed
NINA.Equipment.Exceptions.CameraDownloadFailedException: Camera download failed - Exposure details: Exposure time: 5, Type: SNAPSHOT, Gain: -1, Filter: 
   at NINA.ViewModel.ImagingVM.<>c__DisplayClass38_0.<<CaptureImage>b__0>d.MoveNext() in C:\Projects\nina\NINA\ViewModel\ImagingVM.cs:line 233
--- End of stack trace from previous location ---
   at NINA.ViewModel.ImagingVM.CaptureAndPrepareImage(CaptureSequence sequence, PrepareImageParameters parameters, CancellationToken token, IProgress`1 progress) in C:\Projects\nina\NINA\ViewModel\ImagingVM.cs:line 294
   at NINA.PlateSolving.CaptureSolver.Solve(CaptureSequence seq, CaptureSolverParameter parameter, IProgress`1 solveProgress, IProgress`1 progress, CancellationToken ct) in C:\Projects\nina\NINA.Platesolving\CaptureSolver.cs:line 54
   at NINA.PlateSolving.CenteringSolver.Center(CaptureSequence seq, CenterSolveParameter parameter, IProgress`1 solveProgress, IProgress`1 progress, CancellationToken ct) in C:\Projects\nina\NINA.Platesolving\CenteringSolver.cs:line 71
   at NINA.PlateSolving.CenteringSolver.Center(CaptureSequence seq, CenterSolveParameter parameter, IProgress`1 solveProgress, IProgress`1 progress, CancellationToken ct) in C:\Projects\nina\NINA.Platesolving\CenteringSolver.cs:line 145
   at NINA.WPF.Base.ViewModel.MeridianFlipVM.Recenter(CancellationToken token, IProgress`1 progress) in C:\Projects\nina\NINA.WPF.Base\ViewModel\MeridianFlipVM.cs:line 300
   at NINA.WPF.Base.ViewModel.WorkflowStep.Process() in C:\Projects\nina\NINA.WPF.Base\ViewModel\MeridianFlipVM.cs:line 501
   at NINA.WPF.Base.ViewModel.AutomatedWorkflow.Process() in C:\Projects\nina\NINA.WPF.Base\ViewModel\MeridianFlipVM.cs:line 440
   at NINA.WPF.Base.ViewModel.MeridianFlipVM.DoMeridianFlip(Coordinates targetCoordinates, TimeSpan timeToFlip, CancellationToken requestCancellationToken) in C:\Projects\nina\NINA.WPF.Base\ViewModel\MeridianFlipVM.cs:line 190

Comments (2)

  1. Stefan B repo owner

    This was discussed in discord. Not a nina issue, but a zwo sdk issue that is most likely caused by usb problems.

  2. Log in to comment