Exception when going to sequence tab.

Issue #190 resolved
Jürgen Woweries created an issue

Hi Nina developers,

There seem to be a problem with nightly #22. With the camera (QHY163M) connected I get an exception, whenever I go to the sequence tab:

[2019-06-13T15:39:14] [ERROR] [MemberName] Application_DispatcherUnhandledException

[2019-06-13T15:39:14] [ERROR] [FileName] D:\Projects\nina\NINA\App.xaml.cs

[2019-06-13T15:39:14] [ERROR] [Message] Specified cast is not valid. at NINA.Utility.Converters.MinusOneToEmptyStringConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)

at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)

at System.Windows.Data.BindingExpression.Activate(Object item)

at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)

at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)

at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)

at MS.Internal.Data.DataBindEngine.Run(Object arg)

at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

at System.Windows.ContextLayoutManager.UpdateLayout()

at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Looks like there is a problem with Gain/Offset. When I disconnect the camera there is no exception.

Btw. That a camera has Gain and Offset should be saved in the Profile. Otherwise you must connect the camera to setup a sequence with gain and offset. Without camera connection the tabs for gain/offset are missing.

Thanks for your hard work

Juergen

Comments (4)

  1. Log in to comment