[visionegg] Re: stimulus code outputs

I notice that pyserial and pyparallel are used by expy - seems there
is more than one development effort in python for psychology
experiments; I wonder if some sort of integration of efforts might be
possible/useful?

http://www.ehess.fr/centres/lscp/expy/expy.html


On Wed, 23 Mar 2005 09:58:25 -0800, Darren Weber
<darrenleeweber@xxxxxxxxx> wrote:
> http://pyserial.sourceforge.net/
> 
> 
> On Wed, 23 Mar 2005 09:47:58 -0800, Darren Weber
> <darrenleeweber@xxxxxxxxx> wrote:
> > The visionegg provides display capabilities, but what about output of
> > a stimulus code event to an external device.  For example, lets say we
> > present an image every 2 sec and there are 5 different categories of
> > image.  Each category is given a code, a number between 0-255.  Now,
> > we want to send this code to an EEG | MEG | fMRI system that will
> > record the timing of this event code during the acquisition of another
> > data timeseries.  It is simple enough to save a stimulus/event log to
> > a file, but it would be nice to interact with the serial/parallel port
> > also.  Is there a command like:
> >
> > eventCode = 128 # or eventID (maybe event.id)
> > event.send.parallelport(eventCode)
> > event.send.serialport(eventCode)
> >
> > I don't have any experience with sending codes to the serial/parallel
> > port.  Any tips or reading material would be really useful.
> >
> > Best, Darren
> >
>
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: