Geminiclose
Gemini Password Reset

Please provide your username.

A password reset confirmation email will be sent to your email address.

Username
  • Projects

 
ACP-1362 - Windows staying open in MaxIm DL
Estimated: 4 Hours 0 Minutes   Logged: 14 Hours 30 Minutes   Excess Time: 10 Hours 30 Minutes
Print  |  Send  |  Refresh  |  Url
Type: Quirk Quirk
Priority: Medium Medium
Severity: Minor Minor
Status: Closed Closed
Resolution: Complete
Resources: Bob Denny
Reported By: Bob Denny
Component: AcquireImages script, AcquireSupport library
Fixed In Version: 8.1
Versions Affected: 8.0
Start Date: 8/17/2015
Percent Complete:
Created:  8/17/2015 2:33:08 PM
Revised:
 8/6/2016 7:03:55 PM
Closed:  8/6/2016 7:03:49 PM
Resolved:  8/6/2016 7:03:55 PM

This is the 'lastimage' window, used to create the web UI thumbnail/preview. It is not closing despite being Document.Close()'d and released. They don't close, resulting in an eventual "out of memory" error. This was discussed via email with Mike Miller not on the Comm Center.

This isn't a real problem, but while trying to reproduce one where windows "proliferate" and cause things to grind to a halt (at one site only!), I did notice that when simulating some windows were left open and depend on MaxIm's "lazy" closing of saved documents. Adding a Camera.Document.Close() after calling SimulateImage() in AcquireSupport makes things better.

Still, the simulated image stays open until it's time to do the next target. ???

    If PtgPrefs.Simulate Then                                   ' If simulating images (don't rotate for GEM)
        SimulateImage simRA, simDec, simPA, Interval, MaxType, workFile, pixFmt  ' This saves it to disk
        Camera.Document.Close
    Else
        If Not c_haveRotator And Util.GEMWestOfPier And _