Hi Russell!
Thanks for the reply!
Yes, the vrpn_print_devices was running on the same windows machine
where the vrpn server is running and it is also where the phantom is
installed. It was able to connect to the server properly, i.e. I will
see the notification messages on the server screen that the phantom is
connected to the server when I start the vrpn_print_devices tool.
I will try these steps as you suggested and post a follow-up.
Best regards,
Xiaohu
On 10/03/2017 09:10 AM, Russell M. Taylor II wrote:
If I understand correctly, vrpn_print_devices was run on the same
Windows machine that the Phantom is installed on and it was able to
connect to the Phantom.
I would try running vrpn_print_devices on the Linux machine that is
running VMD to see if it also works. If it does not, I'd change from
a standard VRPN connection to a TCP-only connection
(device@tcp://hostname rather than device@hostname) to see if that
gets around the issue. The standard VRPN connection uses both UDP and
TCP in its session initialization to avoid hanging the client when the
server is locked up; it also uses UDP transport for tracker packets to
reduce latency and retransmission. On a lossless network, TCP should
be fine. If TCP works, I'd modify the VMD configuration to use that
as well.
If vrpn_print_devices works on the Linux machine and VMD does not, I'd
contact the VMD user group.
Russ
At 01:03 PM 10/2/2017, Xiaohu Hu wrote:
Hi all, I am seeing a strange network error when I tried to use VRPN
to connect a sensible phantom haptic device to another computer
running the software VMD
(https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ks.uiuc.edu_Research_vmd_&d=DwIFAw&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=4OpLrHIgas0Ufz9n3-kli00WCa00hexSrx0ApZkMiDc&s=_53xKXC3lexwVmPUn_CR7n3nINoouGUofd1___gWrj4&e=
). So I have the following setup: - A windows 7 machine running VRPN
server 7.33, the haptic device is connected to the windows machine
and is properly configured. I used the vrpn_print_devices.exe command
to verfied it. - A second linux computer running ubuntu 16.04 has the
software VMD (visual molecular dynamics) installed on it which should
connect to the VRPN server. The gold is to use the haptic device as a
input device on in the software VMD. Everything seems fine until when
I try to connect to the VRPN server from the linux machine. On the
server screen, I see the following repeating error message: vrpn:
Connection request received from xx.xx.xx.xxx:
https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.1.1&d=DwIFAw&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=4OpLrHIgas0Ufz9n3-kli00WCa00hexSrx0ApZkMiDc&s=p7SejQhc-V4lw7sWu8x2BDaVmLyGuXPvcdhd9Wjgl9o&e=
51469 vrpn_Endpoint::connect_tcp_to: Could not connect to machine
https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.1.1&d=DwIFAw&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=4OpLrHIgas0Ufz9n3-kli00WCa00hexSrx0ApZkMiDc&s=p7SejQhc-V4lw7sWu8x2BDaVmLyGuXPvcdhd9Wjgl9o&e=
port 51469 Winsock error: 10061
vrpn_Endpoint::setup_new_connection:Â Can't write cookie.
vrpn_Connection_IP::handle_connection():Â Can't set up new
connection! meanwhile on the linux machine I see this repeating error
message: from Phantom: No response from server for >= 10 seconds It
seems that the vmd software on the linux machine is trying to make a
request, which is received by the VRPN server, but when the server
tries to talk back to the client, it gets denied for some reason(ergo
the winsock 10061 error). I have turned off the firewalls on both
machines and the same thing still happens. I am wondering whether it
is a VRPN issue or a network issue, both computers are connected to
the same network, they should be on the same subnet. I am wondering
if anyone else has seen similar error? Any help here is appreciated,
and much thanks in advance! Best, Xiaohu
_______________________________________________ vrpn-discuss mailing
list [email protected] Options and Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.vrpn.org_options.cgi_vrpn-2Ddiscuss-2Dvrpn.org_taylorr-2540cs.unc.edu&d=DwIFAw&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=4OpLrHIgas0Ufz9n3-kli00WCa00hexSrx0ApZkMiDc&s=jIqdOoBI4hROUlcVI9FeDOjQkdbruccBoN72TG5zVpY&e=
Archives:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.vrpn.org_pipermail_vrpn-2Ddiscuss-2Dvrpn.org&d=DwIFAw&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=4OpLrHIgas0Ufz9n3-kli00WCa00hexSrx0ApZkMiDc&s=ZXL-Vw8IZ4YFo_jhz56uSQRcuMhhiLF1dx1CADjDpRQ&e=
List homepage:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.vrpn.org_listinfo.cgi_vrpn-2Ddiscuss-2Dvrpn.org&d=DwIFAw&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=4OpLrHIgas0Ufz9n3-kli00WCa00hexSrx0ApZkMiDc&s=VWFan-cGkk1MNycs96MWgxEUvGOBJ7b8Wnd20aUopOw&e=
</x-flowed>
---
Russell M. Taylor II, Ph.D. [email protected] [email protected]
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cs.unc.edu_-7Etaylorr&d=DwIFAw&c=shNJtf5dKgNcPZ6Yh64b-A&r=SHx_YnYMsBQdPqUNPQ_CGtLPvCDYJr0vd32NmgHNJaI&m=4OpLrHIgas0Ufz9n3-kli00WCa00hexSrx0ApZkMiDc&s=3qKlA55ukAxYBhni27W5Yh8YcUIC-BCxoR42us5lKac&e=
--
Xiaohu Hu, PhD
Postdoctoral Fellow
Department of Pharmacological Sciences
Icahn School of Medicine at Mount Sinai
Email: [email protected]
Phone: 865-985-8244
_______________________________________________
vrpn-discuss mailing list
[email protected]
Options and Unsubscribe:
http://lists.vrpn.org/options.cgi/vrpn-discuss-vrpn.org/archive%40mail-archive.com
Archives: http://lists.vrpn.org/pipermail/vrpn-discuss-vrpn.org
List homepage: http://lists.vrpn.org/listinfo.cgi/vrpn-discuss-vrpn.org