For a recent project I've started using E-Prime (version 2.0) for the first time. The goal is to research facial mimicry, using EMG.
So I need to be able to see in BioSemi at which point a stimulus was presented, but I'm having trouble with this.
I've used a script provided by my supervisor as a starting point for sending codes to BioSemi. However, it's not working the way it's supposed to yet.
Right now there are codes showing up in BioSemi when I run the experiment, but these don't appear at the start of stimulus presentation, instead it appears to be random. Apart from that the codes don't seem to be coupled correctly to the faces (for example, I meant to have code 1 show up for happy faces, but this doesn't happen everytime).
This is all the code I used (which seems meager):
If c.GetAttrib("code")= "1" Then writeport 888,1
If c.GetAttrib("code")= "2" Then writeport 888,2
If c.GetAttrib("code")= "3" Then writeport 888,3
'1 is angry, 2 is scared, 3 is happy
' (for EMG) writeport 888, 0
Does one of you have a suggestion for what we should change or add? I found some articles and manuals on it, but haven't really been able to figure out what I need to do.
Kind regards and thank you in advance!
Please sign in to leave a comment.