Acquisition: Simple or Script ?

Data acquisition may be managed by two modes :
•     An acquisition named « Simple »,
•    An acquisition managed by a « Script », i.e. all events in the experiment are described in a pseudo command language.

The « Simple » acquisition with  the Eye & Pen configuration panel. You may define two zones on the tablet, associated with pictures (a different picture for each zone). When the subject will press the stylus into a zone, the “linked” picture will be displayed. A third zone allows the subject to stop the recording. You may also not define any zone at all, to perform a “basic” recording.


The « Script » acquisition mode uses commands, i.e. it uses a text file containing the sequential description of the events happening during the experiment. Some basic parameters can be set via the Eye and Pen configuration panel, but all parameters may be overwritten in a script.

For example, you can start/stop data recording, display pictures, videos, play sounds, associate tablet zones with stimuli, define event sequences (loops to repeat sequences, conditions etc)…
Although it seems more “tough” to use than the simple paradigm, using scripts allows to manage a wider range of experiment paradigms.

As illustration, the command displayAVI(text640.AVI,-1,-1,TRUE) displays the video file text640.AVI on the screen center and the script engine will wait until the “playing” is over to go one with the next command , or as an other example, the command DisplayMsg(thank for coming !,3000,-1,-1) displays the message “Thanks …” for 3 seconds (3000 milliseconds) at the screen center.
During each “script” recording session, the main “interactive” events (displays, recordings, subject’s responses etc…) are logged into a file (log).

Scripts samples

Here we’re explaining script samples to answer practical cases.

  • How to randomize blocs of items between them, then inside each bloc: Double randomization (E&P v2)