WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 05-02-2018, 12:29 PM
amir amir is offline
Member
 
Join Date: Apr 2018
Posts: 22
I have 2 separate computers, one with Vizard and one with Optotrak. They are both connected to the same hospital network via ethernet cables.

I ran the following code:

opto = viz.add('optotrak.dle',0,'192.168.0.114')
body = opto.getBody(0)
marker = opto.getMarker(0)

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


I also tried replacing the 192.168.0.114 with the IP address of the Optotrak computer. Neither of the codes worked.

I've been getting this error message, AttributeError: 'VizExtension' object has no attribute 'getBody'

Is there something I'm inputting incorrectly? Is it possible the 2 computers need to be physically connected (e.g. USB to USB, crossover ethernet cable, etc.) instead of just being on the same network for Vizard to fetch the Optotrak data?

Thanks!
Reply With Quote
 

Tags
optotrak, sensor, tracker, vizard, vizconnect


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
Treadmill , Optotrak & Vizard Canucks Vizard 7 05-01-2017 10:41 PM
Connecting Vizard and NDI Optotrak vserchi Vizard 3 02-06-2015 01:04 AM
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 10:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 10:46 AM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM


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


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