From: John Stone (
Date: Sun May 20 2007 - 13:13:04 CDT

  I don't think there's a straightforward way to do this at the moment,
but one way you could do it is to keep track of the last time VMD received
an incoming IMD timestep, and if no new timesteps occured for a predetermined
amount of time, fire off a Tcl callback to shutdown VMD etc.
I could probably create new callbacks expressly for the purpose of
tracking the status of IMD connections in a future rev of VMD if this
would be helpful to you.

What are you doing with the VMD that's listening to NAMD via IMD?
Is this just intended as an ease-of-use improvement or are you using
VMD as an additional simulation logging mechanism of some sort?

  John Stone

On Sat, May 19, 2007 at 06:23:42PM +0000, Claw Isthelaw wrote:
> Dear VMD Community,
> Does anyone know a way I can command VMD (running interactively with NAMD) to shut down after NAMD finishes its simulation? This would be placed within a script so that I do not have to do it myself.
> Jeff Tibbitt
> _________________________________________________________________
> Change is good. See what’s different about Windows Live Hotmail.

NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email:                 Phone: 217-244-3349
  WWW:      Fax: 217-244-6078