jmp-l
[Top] [All Lists]

Re: Closing Platform Windows

To: jmp-l@lists.biostat.wustl.edu
Subject: Re: Closing Platform Windows
From: Donald.Palahnuk@imclone.com
Date: Mon, 21 Feb 2005 09:44:30 -0500
In-reply-to: <Pine.LNX.4.60.0502191202550.8678@gate.nmr.mgh.harvard.edu>

Another option is to place a wrapper around the display object with a specific handle to the
wrapper window. This is a little more robust in my experience, since the display platforms
can loose their pointers occassionaly ... why - dont know but it does happen.

Here you go:

nw = new window("my window",
        fm = Fit Model( Y(...), Effects(...) );
);
fit = fm << Run Model;

nw << Close Window;
fit << Close Window;

this is very robust.


D Palahnuk
Senior Engineer, Process Sciences
ImClone Systems
908 252 3533
Donald.Palahnuk@ImClone.com



Steve Hodge <steve@nmr.mgh.harvard.edu>
Sent by: jmp-l-owner@lists.biostat.wustl.edu

02/19/2005 12:03 PM
Please respond to
jmp-l@lists.biostat.wustl.edu

To
jmp-l@lists.biostat.wustl.edu
cc
Subject
Re: [jmp-l] Closing Platform Windows





This is the advice I received for closing the "fit model" window, which
might help you, too:

The best approach in your case might be 'divide and conquer.' You might
want to script this platform in two steps instead of one. The second step
handles running the model, like this:

fm = Fit Model( Y(...), Effects(...) );
fit = fm << Run Model;

This way you have control over both windows. You can now close either one:

fm << Close Window;
fit << Close Window;

(From: Mark4Flies@aol.com, Date: Thu, 25 Dec 2003)

Steve


On Sat, 19 Feb 2005, James Kern wrote:

> I'm running a script that repeatedly calls a model platform.  I can close the
> report window, but I can't seem to close the platform launch window.  As more
> windows open, my computer's resources get eaten up and the program begins to
> bog down, or crash entirely.  At the end of the script, the data table is
> closed along with all associated windows.  I've tried including this process
> periodically in the script, but the script continues to run and the windows
> don't get closed until the script completes.  Any ideas?  - Jim
>



Confidentiality Note:  This e-mail, and any attachment to it, contains privileged and confidential information intended only for the use of the individual(s) or entity named on the e-mail.  If the reader of this e-mail is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that reading it is strictly prohibited.  If you have received this e-mail in error, please immediately return it to the sender and delete it from your system.  Thank you.
<Prev in Thread] Current Thread [Next in Thread>