Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A package for communicating with eye trackers via the iViewX server software from SensoMotoric Instruments.

Project Description

Here’s a basic example of usage:

from pyviewx.client import iViewXClient, Dispatcher
from twisted.internet import reactor

d = Dispatcher()
client = iViewXClient('192.168.1.100', 4444)
client.addDispatcher(d)

@d.listen('ET_FIX')
def PyViewXEvent(inResponse):
        print 'Fixation Start', inResponse

@d.listen('ET_EFX')
def PyViewXEvent(inResponse):
        print 'Fixation End', inResponse

@d.listen('ET_SPL')
def PyViewXEvent(inResponse):
        print 'Sample', inResponse

reactor.listenUDP(5555, client)
reactor.callLater(0, client.setDataFormat, '%TS %ET %SX %SY %DX %DY %EX %EY %EZ')
reactor.callLater(0, client.startDataStreaming)
reactor.callLater(0, client.startFixationProcessing)
reactor.run()
Release History

Release History

This version
History Node

0.5.1

History Node

0.5.0

History Node

0.4.9

History Node

0.4.8

History Node

0.4.7

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyviewx.client-0.5.1.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256 Source Jul 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting