Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

MediaLab Eyetracker Slide Numbering

  1. #1

    MediaLab Eyetracker Slide Numbering

    We are running an ASL eyetracker with Medialab presenting still slides. We can get MediaLab to signal slide changes however we cannot get corresponding slide name/number in our Eyetracker data file. Can Medialab signal to eyetracker the slide number/name from which the information is being sent?

  2. #2
    Maybe...

    How many digital inputs does your eyetracker system have?

    If you have several, you could number your images and then convert that number to binary and send it out the door using the MediaLab computer's parallel port.

    IE, Show image #6, then have MediaLab briefly activate these I/O lines:

    00000110

    The eyetracker system would show a '6' as being received and could store that information somewhere in the data file.

    If you have 'X' digital inputs, you can encode 2^X discrete values.

    2 inputs gives you 4 values, 4 inputs gives you 16. 8 inputs gives you 256.

    Does that make any sense?

  3. #3
    The eyetracker I believe has 128. But exactly where in the medialab editor sheet would I place the binary number corresponding to the specific slide? Also, as I am not well versed in binary code, what is the best way to figure out the code for each number. At this juncture there will be 96 slides (or images) to present within medialab.

    Thanks again for the help,

    Chris

  4. #4
    Chris,

    Can you send me a link for documentation re: your eye tracker? Specifically, I'd like to see how it handles digital input.

    Converting to binary is easy. If you're on a Windows machine, find the calculator. It's usually in the start menu, then under accessories.

    When the program comes up, just type your decimal number in to the main window. Then, in the top left corner check 'Bin' instead of 'Dec.' The calculator will make the conversion for you.

    You may need to prepend some zeroes to the answer you receive.

    Example:

    Decimal 32 is

    100000 binary

    You need it to be 8 digits long. So...

    00100000

    Make sense?

    I would probably put this 'nametag' immediately following the trigger output you have in your MediaLab experiment, but before the stimulus is presented.

    As far as placement goes...

    My syntax is wrong, but the gist of it is:

    --- Trigger EyeTracker
    --- Send binary nametag
    --- Display photo / video clip / etc

    --- Repeat as required.