WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 05-07-2009, 12:55 PM
llqqff llqqff is offline
Member
 
Join Date: May 2009
Posts: 25
Hi Farshizzo,

I tried the vicon.dle, but it still can not work, the code I am using is:

vicon = viz.add('vicon.dle',0,'192.168.1.100')
body = vicon.getBody(0)
marker = vicon.getMarker(0)

print body.getName()
print marker.getName()

The error message:
** Vicon Error: Server connection timed out (0)
** ERROR: Failed to connect to Vicon server at 192.168.1.100:803
** ERROR: Failed to create extension: vicon.dle
Traceback (most recent call last):
File "<string>", line 11, in ?
File "test1.py", line 5, in ?
body = vicon.getBody(0)
AttributeError: 'VizExtension' object has no attribute 'getBody'

Do you know what is the problem?
Reply With Quote
  #2  
Old 05-07-2009, 01:57 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You might be connecting on the wrong port. The default port should be 800. If you are positive that you are connecting over the correct port, then you might have a firewall that is blocking the connection request. Check if the server is running a firewall and try disabling it to see if Vizard can connect.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vicon Plug-in sscovil Plug-in development 3 12-15-2009 11:53 PM
Integrating InertiaCube and Vicon data roman_suvorov Vizard 10 05-20-2008 04:30 PM
Vicon plug-in dudey12 Plug-in development 11 04-25-2008 08:59 AM
Vicon Plugin Micheal Plug-in development 2 08-29-2007 03:03 AM


All times are GMT -7. The time now is 03:41 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC