how to vary a time length of a fixation point


Author
Message
Robert Balas
Robert Balas
Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)Guru (5.5K reputation)
Group: Forum Members
Posts: 38, Visits: 85
Hello,
I 've recently had an issue of how to vary time of a fixation point. I need to randomly assign a duration of the initial stimulus (a fixation point) so as to avoid expectancy of a words that follows. My idea is that after presentation of an X the next word would appear, so the /stimulustimes property should be varied. Here's the code I wrote but... it doesn't appear to work. HELP!!!! Anyone!!!!

Best - Robert Balas

<text CSwords>
/items = ("lapafa", "hatuka", "perano", "ufete", "seraku", "odikef", "runego", "belude")
/ fontstyle = ("Times New Roman", 4.85%, true, false, false, false, 5, 0)
/ txcolor = (0, 0, 0)
/ select = noreplace
</text>

<trial CSwords>
/ ontrialbegin = [trial.cswords.setstimulustime(text.cswords, counter.fix_time.selectedvalue)]
/ pretrialpause = 500
/ stimulustimes = [1 = fix; 1000 = CSwords; 3000 = blank]
/ posttrialpause = 6000
/ response = noresponse
</trial>

<counter fix_time>
/ items = (500, 1500)
/ select = noreplace
/ selectionrate = always
</counter>

<block temp.CSwords>
/ trials = [1-10 = CSwords]
</block>

<text fix>
/ items = ("X")
/ fontstyle = ("Arial", 5.04%, true, false, false, false, 5, 0)
/ txcolor = (220, 20, 60)
</text>

<shape blank>
/ shape = rectangle
/ size = (80%, 80%)
/ color = (white)
</shape>



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search