Atik Cameras

Author Topic: EFW2 loop: bug report with new driver (july 2017)  (Read 4726 times)

sferlix

  • Newbie
  • *
  • Posts: 6
EFW2 loop: bug report with new driver (july 2017)
« on: August 09, 2017, 11:29:16 pm »
Hello

I've maybe found a bug. I was able to replicate the following situation. That's why I think it should be a bug.

Scenario: Atik 383L+ mono and EFW2 with 7 positions.
I use Maxim DL for single exposure, everything is connected and working.
I select Frame Type=Light and Filter="L Filter".
The EFW2 correctly moves to the L-Filter.

if I select 'R Filter', the EFW2 correctly moves to the desired position.
If, for some reasons, I wrongly select the (non-existing) filter no. 8, a nighmare happens:

- the EFW2 starts to rotate and does not stop, even if I disconnect everything from MaximDL
- In order to stop the indefinite rotation, I've to unplug the power cord
- when I reconnect, an error occurs while initialiting camera: AtiKEFW.Core: argument not in the interval
- I have to kill maximDL because the error itself is in loop, even if I unplug and reconnect everything.
- I waste hours trying to fix the problm.

In order to recover, I've to run in a series of restarts, ecxeptions and then, I really do not understand what make it working again...

please, help

br
francesco

I add some more text aboutt the error:

System.ArgumentOutOfRangeException: Index non compreso nell'intervallo. Richiesto valore non negativo e minore della dimensione della raccolta.
Nome parametro: index
   in System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   in System.Collections.Generic.List`1.get_Item(Int32 index)
   in Atik.Efw.Driver.FilterWheelBase.get_CurrentConfiguration()
   in Atik.Efw.Driver.SetupDialogForm.UpdateWheelInterface()
   in Atik.Efw.Driver.SetupDialogForm.OnTimerTick(Object sender, EventArgs e)
   in System.Windows.Forms.Timer.OnTick(EventArgs e)
   in System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2101.1 built by: NET47REL1LAST
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ASCOM.AtikEFW2.FilterWheel
    Versione assembly: 2.2.0.6
    Versione Win32: 2.2.0.6
    Base di codice: file:///C:/Program%20Files%20(x86)/Common%20Files/ASCOM/FilterWheel/ASCOM.AtikEFW2.FilterWheel.DLL
----------------------------------------
AtikEFW.Core
    Versione assembly: 2.2.0.6
    Versione Win32: 2.2.0.6
    Base di codice: file:///C:/Program%20Files%20(x86)/Common%20Files/ASCOM/FilterWheel/AtikEFW.Core.DLL
----------------------------------------
System.Xml
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2046.0 built by: NET47REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2093.0 built by: NET47REL1LAST
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ASCOM.Interfaces
    Versione assembly: 1.0.0.0
    Versione Win32: 1.0.0.0
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/ASCOM.Interfaces/1.0.0.0__565de7938946fba7/ASCOM.Interfaces.dll
----------------------------------------
System.Windows.Forms
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2094.0 built by: NET47REL1LAST
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2046.0 built by: NET47REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2046.0 built by: NET47REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2099.0 built by: NET47REL1LAST
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Microsoft.GeneratedCode
    Versione assembly: 1.0.0.0
    Versione Win32: 4.7.2046.0 built by: NET47REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2046.0 built by: NET47REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2046.0 built by: NET47REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
 








sferlix

  • Newbie
  • *
  • Posts: 6
Re: EFW2 loop: bug report with new driver (july 2017)
« Reply #1 on: August 11, 2017, 10:30:23 am »
Hello All,

I've an update.
I Removed all Atik and ASCOM drivers. Windows registry cleaned. I'm a software engineer, so I (hope to) know where I put the hands.

Reinstalled everything from scratch.
Problem persists: when - in maximDL - I select the filter no.8 (the wheel has 7 positions) and this provokes a never-ending rotations of the filter plate.

From this point on, the nightmare begins: power-on/off, usb reconnect, and so on. Only a full PC and equipment restart/disconnection solves the situation.

To be hones, Maxim is provoking the problem, it's not a true bug.
But, we coud make the driver much more robust, so that the driver refuses to search for the not-existing position when some software is asking for it.

I own 2x Atik EFW2 and 2x Atik 383L+ mono.
So, I hope the Atik suppor will enhance and make more robust the EFW2 Driver.

Best regards,
francesco

sferlix

  • Newbie
  • *
  • Posts: 6
Re: EFW2 loop: bug report with new driver (july 2017)
« Reply #2 on: August 19, 2017, 04:24:29 pm »
Hello

The new version of the driver fixes the issue.
Francesco