Setting markers for stimlustimes with Tobii Eyetracker


Author
Message
Aleya
Aleya
Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)
Group: Forum Members
Posts: 15, Visits: 30
Hi,
I've tried to find a solution by reading previous comments on this topic, but cannot seem to send useful markers for the onset of my stimuli.

It is a simple experiment, in which two pictures (one neutral and one emotional) are shown simultaneously on each side of a fixation cross for only 200ms. Before the onset of the stimuli I want a recorded fixation cross time of 300ms. ITI are fixation crosses as well fr 3000-6000ms.
According to an example script on the millisecond homepage, I tried the following:

<values>
/ trialduration = 2200
/ marker = 0
/ stimulusonset = 0
/ image_neu = ""
/ image_emo = ""
</values>

<port marker>
/ items = (0)
/ port = eyetracker
/ erase = false
</port>

I set up trials for each version emoneu (emotional left and neutral right) and neuemo after defining the pictures and their positions:
<trial emoneu>
/ ontrialbegin = [values.marker = (picture.emoleft.currentindex*100) + picture.neuright.currentindex;]
/ ontrialbegin = [port.marker.setitem(values.marker, 1);]
/ stimulustimes = [0 = fixation; 2001 = emoleft, neuright, marker]
/ posttrialpause = (picture.fixation.item)
/ inputdevice = eyetracker
/ recorddata = true
/ ontrialend = [values.image_emo = (picture.emoleft.currentitem); values.image_neu = picture.neuright.currentitem]
/ ontrialend = [values.iti = trial.iti.timeout]
/ timeout = values.trialduration
</trial>

<list trialselector>
/ items = (trial.emoneu, trial.neuemo)
/ itemprobabilities = (.50, .50)
/ poolsize = 60
/ replace = false
</list>

I cannot seem to get adequate markers for the stimulus onsets. I know I set it up as a multiple digit number to indicate the current index of each picture shown for the left and the right, but they seem to be random.
Also, I would like to also set markers for the fixation cross, so I have a baseline to analyze the data from. I realize that I have to set markers back to 0 if I have more than one in a single trial, but I just want to get the stimulus setting right first.
I'm sorry if this question is trivial, I just don't seem to be understanding how to implement it.
Thanks in advance,
Aleya

Edited 5 Years Ago by Aleya
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Aleya - 5 Years Ago
Dave - 5 Years Ago
Aleya - 5 Years Ago
Aleya - 5 Years Ago
Aleya - 5 Years Ago
Dave - 5 Years Ago
Aleya - 5 Years Ago
                         + x [quote] [b] Aleya - Friday, May 17, 2019 [/b] Sorry...
Dave - 5 Years Ago
                             + x [quote] [b] Dave - Friday, May 17, 2019 [/b] +...
Aleya - 5 Years Ago
                                 + x [quote] [b] Aleya - Wednesday, May 22, 2019 [/b]...
Dave - 5 Years Ago
                                     + x [quote] [b] Dave - Wednesday, May 22, 2019 [/b] +...
Aleya - 5 Years Ago
                                         + x [quote] [b] Aleya - Wednesday, May 22, 2019 [/b]...
Dave - 5 Years Ago
                                             + x [quote] [b] Dave - Wednesday, May 22, 2019 [/b] +...
Aleya - 5 Years Ago
                                                 + x [quote] [b] Aleya - Wednesday, May 22, 2019 [/b]...
Dave - 5 Years Ago
                                                     + x [quote] [b] Dave - 5/22/2019 [/b] + x...
Aleya - 5 Years Ago
                                                         + x [quote] [b] Aleya - 5/27/2019 [/b] + x...
Dave - 5 Years Ago
                                                             + x [quote] [b] Dave - 5/27/2019 [/b] + x...
Aleya - 5 Years Ago
                                                                 + x [quote] [b] Aleya - 5/27/2019 [/b] + x...
Dave - 5 Years Ago
                                                                     + x [quote] [b] Dave - 5/27/2019 [/b] + x...
Aleya - 5 Years Ago
                                                                         + x [quote] [b] Aleya - 5/28/2019 [/b] Even if I set...
Dave - 5 Years Ago
                                                                             + x [quote] [b] Dave - 5/28/2019 [/b] + x...
Aleya - 5 Years Ago
                                                                                 + x [quote] [b] Aleya - 6/3/2019 [/b] + x...
Dave - 5 Years Ago
                                                                                     OK thank you! Now it gives me an error about the ports though :-/...
Aleya - 5 Years Ago
                                                                                         + x [quote] [b] Aleya - 6/6/2019 [/b] OK thank you!...
Dave - 5 Years Ago
                                                                                             Right sorry, silly me. Another more general question: I am used to...
Aleya - 5 Years Ago
                                                                                                 + x [quote] [b] Aleya - 6/11/2019 [/b] Right sorry,...
Dave - 5 Years Ago
                                                                                                     Thank you so much for all your help Dave! Much appreciated!
Aleya - 5 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search