next up previous contents index
Next: Advanced Script Writing Up: Tips and Tricks Previous: Remote Control of VMD

Controlling One VMD With Another

  The previous example showed how to control VMD from another process and the one before that showed how to get access to all the VMD\ display commmands. These can be combined to have one instance of VMD control another. Here's how.

On the VMD to be controlled (on the machine named foo), allow external communications by executing external on. On the controlling VMD enter these lines:

        external connect foo
        proc vmdlog s {
              external send $s
        }



Justin Gullingsrud
Tue Apr 6 09:22:39 CDT 1999