neuroscan triggers help

Chris Blais cblais at berkeley.edu
Fri Aug 20 19:25:30 UTC 2010


In my experience, every time you send a code, you need to send a 0 (perhaps this is obvious, but I have not seen it documented anywhere). 
e.g. you need this:

WritePort &h378, 1
WritePort &h378, 0

Depending on how fast things are, you might need to put a wait statement between the two WritePort commands. Using cogent with matlab, we had to insert a .1 ms wait command otherwise we missed ~15% of the event codes. 

In order to make sure the port is correct, you pick the LPT port number (&h378 in your case).

--------------------
Chris Blais Ph.D.
Post-Doctoral Researcher
Center for Mind and Brain
University of California, Davis
267 Cousteau Pl
Davis, CA, 95618
cblais at ucdavis.edu

On Aug 20, 2010, at 12:09 PM, Martin wrote:

> Hello,
> 
> I use Scan4.0 (Neuroscan through Compumedics) to record EEGs and
> currently use STIM2 for experimental design and sending time-stamps to
> the EEG recording.  I have designed an experiment in E-Prime and want
> to send time-stamp triggers to neuroscan. I've done some research on-
> line and this is what I have tried.
> 
> I created an InLine Object within my TrialProc.  I tried the following
> script (WritePort address, value):
> 
> WritePort &H378, 1
> 
> But that didn't work.
> 
> I have three ports in device manager with different addresses (LPT =
> 0378, COM1 = 03F8, COM2 = 02F8)
> I've tried each of these address, but they haven't worked.   In the
> STIM2 program, the port is set at KPC124 PCI -- I tried varations of
> this but no luck so far.
> 
> Here are my basic questions so far?
> 
> 1. Am I using InLine Objects correctly for sending triggers?
> 2. How do I find (or write) the correct address to send a trigger to
> Scan4.0?
> 3. If I have several slides with a different response for each slide
> in TrialProc, how do I make a different trigger for each response. Do
> I use a different InLine object for each one with a different trigger
> value?
> I have
> 
> Any suggestions would be greatly appriciated. Or if anyone (or knows
> someone) is using E-prime and neuroscan that I can contact, that would
> be great.
> 
> Best regards,
> 
> Martin
> 
> Martin Shapiro, Ph.D.
> Department of Psychology
> California State University, Fresno
> (559) 278-2358
> 
> -- 
> You received this message because you are subscribed to the Google Groups "E-Prime" group.
> To post to this group, send email to e-prime at googlegroups.com.
> To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list