From: Fung Wai Keung (wkfung_at_acae.cuhk.edu.hk)
Date: Tue May 11 2004 - 06:29:24 CDT

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