Interfacing E-Prime v.1 with EyeLink SR1000

Michiel Spape Michiel.Spape at nottingham.ac.uk
Tue Jun 29 10:38:21 UTC 2010


Hi,
Please name the exact error (copy paste it from your debug output). Despite me guessing here, I think it's pretty likely that your error is caused by an unfinished line of code, for example:
If [condition] then
	Statement
End If

Or 
Sub [myGreatFunction] 
End 
Etc.

The problem is not that E-Prime doesn't do 'Sub' - it means subroutine (or, procedure, if you like). Two possibilities as to what happened here:
- they've made bad examples. Always first try if you get their examples to work, only THEN see if you can implement them in your own code. How else can you know if your EyeLink works?
- your implementation is invalid; somewhere, an if statement is unfinished (it happens quite a lot with my own code as well), or, worse, ended twice (leading the other end to be the end of all code) or ended when it wasn't necessary, as in:
If [condition] then [Statement]
End if
...
The above is what my students do a lot, and, to be frank, it's very understandable and I don't see what visual basic's preoccupation with new lines is. However, if you write the whole bit in one line, this, to basic means, it is also ended in one go. Pretty frustrating if you're used to C or other programming languages.

I don't know EyeLink, only Tobii, but I assume that if they say their software is e-prime compatible (do they have eye-prime add-ons?), I assume it is...
Best,
Michiel




Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology


-----Original Message-----
From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Candy Patterson
Sent: 28 June 2010 13:15
To: E-Prime
Subject: Interfacing E-Prime v.1 with EyeLink SR1000

I have an E-Prime script (several in fact) for an experiment that I
have been running successfully and now wish to collect eye movement
pattern data for these studies using an EyeLink SR1000 eye tracker.
However, despite the EyeLink saying it supports E-Prime I cannot find
an example script that successfully interfaces the two and my attempt
keeps coming back with the same error.

All examples seem to begin with the command 'Sub' which is what is
coming back as the error as an unrecognised command. Not sure if the
rest of the script works as this is the first command that is given
both in the SR manual and other websites. Does anyone know whether it
is possible to use E-Prime on an EyeLink and more importantly has
anyone been able to successfully run a study using the two? I have a
pile of experiments waiting to gain eye data that I would like to keep
as E-Prime scripts. Using version 1 as the EyeLink host computer is
not networked so unable to install version 2.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list