Timing issue


Author
Message
k.vanschie@tilburguniversi...
k.vanschie@tilburguniversity.edu
New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)
Group: Forum Members
Posts: 5, Visits: 9
Hey all, 

I have a bit of code and I am not sure I'm understanding it correctly. I am basing my experiment on someone else's work, so am slowly figuring out how it works. Find the relevant code below (and my questions underneath that).

<text Intrusion>
/ items = ("How <b>often</b> did you <b>think</b> about the <b>scene</b>?
    <center><br><br><b>NEVER ---- BRIEFLY ---- OFTEN</b>
    <center><br> (1) ----------- (2) ----------- (3) </b>"
    )
/ position=(50%, 50%)
/ color = white
/ txbgcolor = white
/ txcolor = black
/ fontstyle = ("Arial", 3%)
</text>


<trial Intrusion>
/ stimulustimes = [1=Intrusion]
/ trialduration = 2500
/ inputdevice=keyboard
/ correctresponse=("1","2","3")
/ recorddata = true // check response given before 2000 ms and if present blank screen
if (trial.Intrusion.responselatency > 0 && trial.Intrusion.responselatency < trial.Intrusion.trialduration)
screencolor = "black"
endif
/ posttrialpause = (500)
</trial>

Questions:
- Am I correct in interpreting that the trial is always 2500ms, but if there is a response the screen goes blank (e.g. if the response is given after 1000ms, then the trial lasts another 1500ms but with a blank screen, followed by 500ms trial pause). In the data file I see that the latency is 2000ms when there is no response (and when there is a response the reaction time simply is logged). Trial duration is always logged as 2500ms.
- Does this mean that a trial is always 3000ms (2500 intrusion + 500 posttrialpause) regardless of how quickly someone responds (within the intrusion trial)?
- I don't follow why the recorddata element somehow checks if a response is given before 2000ms (because it simply seems to be a programmer's note). It is not defined anywhere in the script. Is this maybe an Inquisit default setting? 
- There is a screencolor black element in the if code, but that does not seem to be called upon (not that I want it to do that), but I simply wondered if I could remove it without 'breaking' anything'.
- Finally, the 'if' element is presented in bold and purple, but the endif is not. Is this an issue?

Thanks for any help in advance!

Kevin
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