Robin,
I've noticed when I close the lid on my laptop SC does not perform screen updates. If I remote into the laptop I can see changes to PHD2 and other apps but SC looks like it's frozen but it's still running. If I open the lid the screen updates like normal. Could this be a setting within SC, something with Google Desktop, a laptop setting, or just an odd thing with my particular setup?
Also, with the latest versions of SC I'm getting an abend at the end of the night. I will run it with the /dump command tonight but wasn't sure if it had already been reported. Here are the last lines from the log;
Debug 03:00:37.443626 #1 Sequencer : Completed : Disconnect all currently selected hardware in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Debug 03:00:37.443626 #1 Sequencer : Completed : Sequence in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Info 03:00:37.443626 #1 The sequence is now finished. in async Task SharpCap.Sequencer.SequencerContext.Run(ScriptBlock script)
Warning 03:00:37.490359 #11 Exception Preprocessing on System.NullReferenceException 'Object reference not set to an instance of an object.' : Exception of type 'NullReferenceException' : Object reference not set to an instance of an object.
Stack Trace: at async void SharpCap.ViewModels.FocuserViewModel.AdaptorOnTemperatureChanged(object sender, EventArgs e) in C:/Documents/Source Code/SharpCap/src/SharpCap/ViewModels/Controls/LargeRangeViewModel.cs:line 125
at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.ThrowAsync(Exception exception, SynchronizationContext targetContext)+(object state) => { }
at void System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(object state)
at void System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at bool System.Threading.ThreadPoolWorkQueue.Dispatch()
at bool System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() in Exception SharpCap.BugReporting.PreprocessException(Exception arg)
Warning 03:00:37.505982 #11 Creating bug report due to exception : : Exception of type 'NullReferenceException' : Object reference not set to an instance of an object. in void SharpCap.BugReporting.SettingsOnProcessingException(Exception arg1, Report report)
Warning 03:00:37.537229 #11 Assembly Microsoft.GeneratedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null loaded more than once in void SharpCap.Program.CurrentDomainOnAssemblyLoad(object sender, AssemblyLoadEventArgs assemblyLoadEventArgs)+(string s, Assembly a) => { } [1]
Laptop Lid Close
Forum rules
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
- admin
- Site Admin
- Posts: 17492
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Laptop Lid Close
Hi,
the error that you are getting is (by the look of things) a temperature update from the focuser arriving while SharpCap is in the middle of shutting down and cleaning up - I can fix that one, thanks for reporting.
I suspect that your laptop puts the graphics card to sleep when the lid is closed, and SharpCap relies on the graphics card for most of the user interface in recent versions. If you turn off the 'use hardware acceleration' check box in the first page of the settings and then restart SharpCap, I think it will fix this issue for you.
cheers,
Robin
the error that you are getting is (by the look of things) a temperature update from the focuser arriving while SharpCap is in the middle of shutting down and cleaning up - I can fix that one, thanks for reporting.
I suspect that your laptop puts the graphics card to sleep when the lid is closed, and SharpCap relies on the graphics card for most of the user interface in recent versions. If you turn off the 'use hardware acceleration' check box in the first page of the settings and then restart SharpCap, I think it will fix this issue for you.
cheers,
Robin
Re: Laptop Lid Close
Excellent on both. Thank you!!