View Single Post
Old 05-02-2018, 12:29 PM
amir amir is offline
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,'')
body = opto.getBody(0)
marker = opto.getMarker(0)

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

I also tried replacing the 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?

Reply With Quote