See the notes on the
Polhemus page regarding the fastrak connection. In order for Vizard to connect to the sensors, PiMgr should not be running. The following code will print out the data each frame once a connection is made.
Code:
import viz
import vizact
viz.go()
polhemus = viz.add('polhemus.dle')
sensor = polhemus.addFastrak()
def printData():
pos = sensor.getPosition()
ori = sensor.getEuler()
print 'pos',pos
print 'ori',ori
vizact.onupdate(0,printData)
Also, take a look at vizconnect for setting up up a configuration file that connects to the sensor.