E-prime not sending correct response trigger in EEG experiment

482 views
Skip to first unread message

Yushuang Liu

unread,
Feb 23, 2018, 5:12:55 PM2/23/18
to E-Prime
Hi everyone, this is Yushuang.

The problem to be described has been puzzling me and my labmates for a while. I am new to e-prime and I really hope to get more insight about it.

I am going to run an ERP experiment (in conjunction with neuroscan) and are currently programming two tasks in E-prime: a semantic priming task and a semantic decision task. 
I would use the semantic decision task as the example here. I have three trigger codes: the word onset (6 conditions: 51, 52, 53, 54, 55, 56), the question onset (two types of question: 61, 62), and response accuracy (correct-71, incorrect-72).
Eprime is sending the first two triggers correctly to neuroscan. However, when it comes to sending response accuracy triggers, it always sends the incorrect response trigger, regardless of whether the participants' answers are correct or incorrect. 

Here is a screenshot of my code.


The problem is that Eprime is always sending 72 to neuroscan (i.e., no 71). However, when we look at the edat file, response ACC is actually registering (i.e., we see both 1 and 0).

This situation also happens with the semantic priming task I am programming. 


I built these scripts based on one script our lab have, and that one is working perfectly. However, the person who programmed that script cannot figure out what is wrong with mine.

So far, I have tried several things: assigning different codes, linking the codes to a blank screen (as shown in the picture) rather than the smiley face etc.


If there is anything unclear in my description, or more information needed in order to solve this problem, please let me know. I have attached all the codes I have in this script as well. I am really desperate right now : (


Thanks sooooooo much!

trigger on.PNG
trigger on target.PNG
skip question.PNG
trigger on question.PNG
response trigger codes.PNG

David McFarlane

unread,
Feb 26, 2018, 2:04:18 PM2/26/18
to e-p...@googlegroups.com
If you have EP2.0.10 or later and rewrite this to use Task Events then I
might take a look at this for you. Otherwise, perhaps someone else here
will look at this as is.

-- David McFarlane


On 2018-02-23 5:12 PM, Yushuang Liu wrote:
> Hi everyone, this is Yushuang.
>
> The problem to be described has been puzzling me and my labmates for a
> while. I am new to e-prime and I really hope to get more insight about it.
>
> I am going to run an ERP experiment (in conjunction with neuroscan) and are
> currently programming two tasks in E-prime: a semantic priming task and a
> semantic decision task.
> I would *use the semantic decision task as the example* here. I have three
> trigger codes: the word onset (6 conditions: 51, 52, 53, 54, 55, 56), the
> question onset (two types of question: 61, 62), and response accuracy
> (correct-71, incorrect-72).
> Eprime is sending the first two triggers correctly to neuroscan. *However,
> when it comes to sending response accuracy triggers, it always sends the
> incorrect response trigger, regardless of whether the participants' answers
> are correct or incorrect. *
>
> Here is a screenshot of my code.
>
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lh3.googleusercontent.com_-2DOmx-2D6q4FMxA_WpCPvXyGN3I_AAAAAAAAAv4_feOBu0up5-2DsUV-2DFZkjP9T-5FleFoUICvPcgCLcBGAs_s1600_response-252Btrigger-252Bcodes.PNG&d=DwIBaQ&c=nE__W8dFE-shTxStwXtp0A&r=rVCe0bDlnqQHHAg2cizkHg&m=rbsvieAsreD2tPRygk0GqShEnXpniF-S4iIE1EpHKPw&s=OAvCnynpdtUeTQFS_LYeMMLHDuDSLQ1Se6hw2tET1Uc&e=>
>
>
> *The problem is that Eprime is always sending 72 to neuroscan (i.e., no
> 71). However, when we look at the edat file, response ACC is actually
> registering (i.e., we see both 1 and 0).*
>
> *This situation also happens with the semantic priming task I am
> programming. *
>
>
> I built these scripts based on one script our lab have, and that one is
> working perfectly. However, the person who programmed that script cannot
> figure out what is wrong with mine.
>
> So far, I have tried several things: assigning different codes, linking the
> codes to a blank screen (as shown in the picture) rather than the smiley
> face etc.
>
>
> *If there is anything unclear in my description, or more information needed
> in order to solve this problem, please let me know*. I have attached all

Yushuang Liu

unread,
Feb 26, 2018, 2:07:00 PM2/26/18
to E-Prime
Hi David,

We have figured it out this morning. It is a matter of my pre-release time.

Thanks anyway! 
Reply all
Reply to author
Forward
0 new messages