22.07.2015 Views

ViewPoint EyeTracker ® New - Arrington Research

ViewPoint EyeTracker ® New - Arrington Research

ViewPoint EyeTracker ® New - Arrington Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Inter-Computer CommunicationEthernet CommunicationAn Ethernet server is built into the <strong>ViewPoint</strong> <strong>EyeTracker</strong>which provides a real-time interface between multiplecomputers:* Real-time streaming data* Real-time control of the <strong>ViewPoint</strong> <strong>EyeTracker</strong>Software Developer’s Kit (SDK)The <strong>ViewPoint</strong> <strong>EyeTracker</strong> ® software includes a powerful software developer’s kit (SDK) that allows programs to seamlessly interface with<strong>ViewPoint</strong> in real-time. The SDK interface is based on a dynamic-link library (DLL for PC, dylib for MAC OSX). It provides real-time access toall <strong>ViewPoint</strong> data and complete external control. It allows calibration stimuli in the user’s stimulus window, or the user’s application to drawinto <strong>ViewPoint</strong>’s Stimulus and GazeSpace windows. It provides complete external control of the <strong>ViewPoint</strong> <strong>EyeTracker</strong>.Event-Driven Real-Time Callback-Function Sample Code#include “vpx.h”int theCallbackFunction( int msg, int subMsg, int param1, int param2 ){if ( ( VPX_DAT_FRESH == msg ) && ( EYE_A == subMsg ) ) {printf(“GazePoint = ( %g, %g ) \n”}}void main(){VPX_InsertCallback( theCallbackFunction );VPX_RemoveCallback( theCallbackFunction );}Sample Code for Demo Apps* ANSI C * MFC (C,C++)* Win32 (C) * BASIC* PythonHow to: Open/close the <strong>ViewPoint</strong> application, Open/Close/Pause/Resume data files, insert real-time dataMarkers andreal-time stringData, access all data in real-time, completeeye tracker control, merge data in real-time from varioussources.Every GUI ( slider, button, menu) has an equivalent Command Line Interface (CLI)command, that can be sent from remote computers for complete external control of<strong>ViewPoint</strong>.VPX_SendCommand( “dataFile_<strong>New</strong>Name \”%s\” “, dataFileName );VPX_SendCommand( “dataFile_InsertString \“Showing picture of cat.\” “);You can also associate commands with FKeys, TTL-In, etc.www.<strong>Arrington</strong><strong>Research</strong>.com 1.480.985.5810 Page 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!