Response markers to the parallel port for an n-back task


Author
Message
avtobin
avtobin
Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)
Group: Forum Members
Posts: 6, Visits: 13
Within a parametric n-back task, I'm trying to send a response marker out to the parallel port for correct responses (hitting the 'a' key at a target response). Currently I am getting stimulus markers specific to
each level of n-back (1,2 or 3) and I've copied the part of my script specific to the parallel port below. Not sure how I should proceed to have a response marker coming out as well. 

<port EEGsignal>
/ port = lpt3
/ subport = data
/ items = ("00000001", "00000011", "00000101")
/ select = values.N
</port>

<port EEGsignal2>
/ port = lpt3
/ subport = data
/ items = ("00000010", "00000100", "00000110")
/select = values.N
</port>

<port EEGsignaloff>
/ port = lpt3
/ subport = data
/ items = ("00000000")
</port>

<block EndExp>
/ trials = [1 = EndExp_trial]
</block>

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You will have to send the respective marker via the <trial> element's /responsemessage, /errormessage and/or correctmessage attribute(s). See e.g. www.millisecond.com/forums/Topic1721.aspx for how this works in principle. For an elaborate example re. use of <port> elements, see the Auditory Oddball Task script available in the library.

avtobin
avtobin
Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)
Group: Forum Members
Posts: 6, Visits: 13
Thank you, that suggestion worked!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search