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
----------------------------------------