I have two USB3 cameras that I wish to use with SGP – a QHY183c and Mallincam DS16c. The 183c is fine. But when I connect the DS16c I get an exception in Ascom and a traceback. Am using Ascom 6.4sp1, latest SGP release and latest Mallincam ascom driver. Afterwards, the DS16c seems to work… but with the endless clouds here about all I can do is run darks… The DS16c is NOT an analog video camera but is similar to the QHY with a USB3 connection. I have also contacted the vendor but no response. One side note – I can connect to this camera through Sharpcap and do not get this kind of error. The only apparent difference is that when connecting via Sharpcap the camera settings dialog is automatically opened – so there may be an invokation protocol difference between that and SGP. Any thoughts or suggestions?
Thanks,
greg latiak
09:00:49.062 TargetInvocationException System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.ArgumentOutOfRangeException: InvalidArgument=Value of ‘0’ is not valid for ‘SelectedIndex’.
Parameter name: SelectedIndex
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at ASCOM.Mallincam.SetupDialogForm.OnDeviceSelectedChanged()
at ASCOM.Mallincam.SetupDialogForm.OnCombox1Changed(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at ASCOM.Mallincam.SetupDialogForm…ctor(String driverId, String camid, ToupCam cam, Boolean isconnected, Boolean hasres, Boolean hasrgb)
at ASCOM.Mallincam.Camera.SetupDialog()
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 412
09:00:49.071 SetupDialog Throwing Default DriverException: ‘CheckDotNetExceptions ASCOM.Mallincam.Camera SetupDialog System.ArgumentOutOfRangeException: InvalidArgument=Value of ‘0’ is not valid for ‘SelectedIndex’.
Parameter name: SelectedIndex
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at ASCOM.Mallincam.SetupDialogForm.OnDeviceSelectedChanged()
at ASCOM.Mallincam.SetupDialogForm.OnCombox1Changed(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at ASCOM.Mallincam.SetupDialogForm…ctor(String driverId, String camid, ToupCam cam, Boolean isconnected, Boolean hasres, Boolean hasrgb)
at ASCOM.Mallincam.Camera.SetupDialog() (See Inner Exception for details)’