Hey guys,
Just wanted to raise an issue with this camera and SGP. In the latest build of SGP the software attempts to load a gain list from the driver and an exception is thrown:
02/26/17 11:09:26.157][DEBUG] [Main Thread] Camera implements ASCOM gain. Current gain is 75
[02/26/17 11:09:26.165][DEBUG] [Main Thread] Failed to fetch ASCOM camera gains list, checking min / max… : Property read ASCOM.ASICamera2.Camera Gains is not implemented in this driver. (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Runtime.InteropServices.COMException: Property Unknown is not implemented in this driver.
— End of inner exception stack trace —
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object args, Boolean byrefModifiers, Int32 culture, String namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object providedArgs, ParameterModifier modifiers, CultureInfo culture, String namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object args, CultureInfo culture)
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type parameterTypes, Object parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 243)
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type parameterTypes, Object parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 279
at ASCOM.DriverAccess.Camera.get_Gains() in c:\ASCOM Build\Export\ASCOM.DriverAccess\Camera.cs:line 864
at qo.bz()
[02/26/17 11:09:26.187][DEBUG] [Main Thread] Camera cooler detected…
[02/26/17 11:09:26.188][DEBUG] [Main Thread] Camera cooler is OFF…
[02/26/17 11:09:26.188][DEBUG] [Main Thread] Camera cooldown on connect is selected…
[02/26/17 11:09:26.188][DEBUG] [Main Thread] Camera cooldown is starting…
[02/26/17 11:09:26.189][DEBUG] [TEC Thread] SGM_CHANGE_COOLER_TEMP message received…
[02/26/17 11:09:26.191][DEBUG] [TEC Thread] TEC Change: Starting…
[02/26/17 11:09:26.193][DEBUG] [TEC Thread] TEC Change: After camera connect change, waiting ~5 seconds…
[02/26/17 11:09:30.975][DEBUG] [Camera Thread] SGM_FRAME_AND_FOCUS message received…
[02/26/17 11:09:30.982][DEBUG] [Camera Thread] ASCOM camera: frame and focus…
[02/26/17 11:09:30.991][DEBUG] [Camera Thread] SetAscomGain to 0
[02/26/17 11:09:30.993][DEBUG] [Camera Thread] Camera gain set to 0
To get around this, users can set the offset in the ASCOM driver like normal, and use the control panel applet (and not the equipment profile) to change the gain. In the example above I had gone into the ASCOM driver and forced it to 75 gain, which was overwritten by the SGP configuration in the Control Panel which was 0.
I have a custom gain profile setup as folks have mentioned, but of course SGP cannot see it due to the exception.