Send Trigger to EEG using E-Prime Professional 2.0

David McFarlane mcfarla9 at msu.edu
Mon Oct 21 17:37:12 UTC 2013


A few questions:

- What version of E-Prime do you use?
- What value of PreRelease do you use on Target1?
- What bit or pin does the BrainAmp need to see change?
- What do you use to verify whether or not your parallel port outputs 
are responding to your E-Prime commands?
- What, exactly, does "it doesn't work" mean here?

Also, please look at the recent thread at 
http://www.pstnet.com/forum/Topic7539-8-1.aspx , where some of these 
same issues got discussed.

Regards,
-----
David McFarlane
E-Prime training 
online:  http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter:  @EPrimeMaster (https://twitter.com/EPrimeMaster )

/----
Stock reminder:  1) I do not work for PST.  2) PST's trained staff 
take any and all questions at https://support.pstnet.com , and they 
strive to respond to all requests in 24-48 hours, so make full use of 
it.  3) In addition, PST offers several instructional videos on their 
YouTube channel (http://www.youtube.com/user/PSTNET ).  4) If you do 
get an answer from PST staff, please extend the courtesy of posting 
their reply back here for the sake of others.
\----


At 10/21/2013 06:43 AM Monday, Piercarlo Mauri wrote:
>I need E-Prime to send triggers to my EEG signal recorded with 
>BrainAmp. The trigger cable is connected from the parallel port to 
>the BrainAmp (in windows the resource tab of the LPT1 port says: 
>Interval I/O 0378-037F, Interval I/O 0778-077F). In E-Prime I added 
>the parallel port on LPT1 to the devices used. I need that in a 
>series of numbers (with attribute "Target") that will be shown for 
>100ms in the slide "Target1", when will appear the number 1, a 
>trigger should be send to my EEG recording... I created an Inline 
>script (the one called Trigger) with this command:
>
>----------------------
>If c.GetAttrib("Target")=1 Then
>    Target1.OnsetSignalEnabled=True
>    Target1.OnsetSignalPort=&H378
>    Target1.OnsetSignalData=128
>
>    Target1.OffsetSignalEnabled=True
>    Target1.OffsetSignalPort=&H378
>    Target1.OffsetSignalData=0
>
>End if
>---------------------
>
>But it doesn't work, anyone can help me? I attached a screen of the 
>sequence of my exp.
>Thank you
>PM

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5265664f.6801320a.6d94.ffffac64SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/groups/opt_out.



More information about the Eprime mailing list