From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue May 11 2004 - 09:41:54 CDT

Hi,
  What is "local" in your .vmdsensors file? Unless that's a hostname
that is registered in DNS or in your machine's hosts table, that has
no chance of working. You must have a valid hostname in your .vmdsensors
file.

  John

On Tue, May 11, 2004 at 07:29:24PM +0800, Fung Wai Keung wrote:
> Hi,
>
> It have been more than 1 month since I post this question to vmd mailing
> list. Thanks for John Stone's helpful suggestion, I finally get vrpn
> server running but I still cannot have Phantom and VMD working
> together. I use phan_server.vrpn_06_03_GHOST_3_1.exe. Attached please
> find my phantom.cfg, vmd.rc and vmdsensors and hope you can point out
> mistake(s) I make during the setup. Your help will be greatly
> appreciated.
>
> > > > > I have VMD 1.8.2 running on Win2K. In our lab, we also have a
> > > > > Phantom Desktop running perfectly with other project. As
> mentioned in
> > > > > the VMD homepage and manual, Phantom can act as an input device
> for
> > > > > VMD. However, I cannot have them working smoothly in the same
> machine.
> > > > > I also cannot find much reference on how to config VMD and
> Phantom so
> > > > > that they work together. If you have experience on making VMD
> and
> > > > > Phantom working together happily, please direct me to relevant
> > > > > references.
> --
> ========
> Regards,
> Wai-keung, Fung
>
> Department of Automation and Computer-Aided Engineering,
> The Chinese University of Hong Kong,
> Shatin, N.T.,
> Hong Kong
>
> Tel: (852)26098056 Fax: (852)26036002
> Email: wkfung_at_acae.cuhk.edu.hk

> vrpn_Phantom Phantom 0 60.0

> ############################################################################
> #cr
> #cr (C) Copyright 1995 The Board of Trustees of the
> #cr University of Illinois
> #cr All Rights Reserved
> #cr
> ############################################################################
>
> ############################################################################
> # RCS INFORMATION:
> #
> # $RCSfile: .vmdrc,v $
> # $Author: johns $ $Locker: $ $State: Exp $
> # $Revision: 1.7 $ $Date: 2003/05/20 20:36:55 $
> #
> ############################################################################
> # DESCRIPTION:
> #
> # VMD startup script. The commands here are executed as soon as VMD starts up
> ############################################################################
>
> # turn on lights 0 and 1
> light 0 on
> light 1 on
> light 2 off
> light 3 off
>
> # position the stage and axes
> axes location lowerleft
> stage location off
>
> # position and turn on menus
> menu main move 5 225
> menu display move 395 30
> menu graphics move 395 500
> menu color move 125 225
> menu files move 125 325
> menu labels move 125 525
> menu render move 125 525
>
> menu main on
> #menu display on
> #menu graphics on
> #menu color on
> #menu labels on
> #menu render on
> #menu files on
>
> # start the scene a-rockin'
> # rock y by 1
>

> ### Sensable PHANTOM via VRPN
> ### http://www.sensable.com/
> ### The Phantom haptic device connected to the computer "pc54"
> device phantomtracker vrpntracker://local/Phantom
> scale 10
> rot left 0 0 -1 0 1 0 1 0 0
> device phantombuttons vrpnbuttons://local/Phantom
> device phantomfeedback vrpnfeedback://local/Phantom

-- 
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: johns_at_ks.uiuc.edu                 Phone: 217-244-3349              
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078