View Single Post
  #9  
Old 10-20-2011, 02:44 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If that's your entire script, then nothing will be output since you are not creating the main graphics window using viz.go(). Try running this script:
Code:
# data aggregation of Eye tracking from SMI and synching with Biopac recording channels
import viz
import vizact
viz.go()

smi = viz.add('smi.dle')

tracker = smi.addEyeTracker(address='192.168.10.1', port=4444)

def showData():
	print tracker.getPosition(smi.PIXELS)	
	print 'Calibration size:',tracker.getCalibrationSize() 
	

vizact.ontimer(0,showData)
Reply With Quote