[visionegg] Re: visionegg for fMRI experiments
- From: Andrew Straw <andrew.straw@xxxxxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Tue, 26 Nov 2002 09:40:56 +1030
Hi Christoph,
This sounds fairly straightforward and a task that a Vision Egg based
Python application could do well. The Vision Egg runs great under
linux provided that OpenGL is working. (Most linux distributions have
a "glinfo" command, and the Vision Egg itself can test.) I believe the
parallel port code is working in linux-- please let me know if you find
it is not.
There is one potential problem. The parallel port code I've written
(and maybe parallel ports in general--I can't remember) does not have
the ability to detect a TTL pulse. Instead, it only reads the value
of a digital pin when asked. Therefore, a pulse would occur unnoticed
unless it occurred simultaneously with the reading of the values. One
solution would be to build a circuit that flip-flops a voltage from low
to high and back when a pulse is received.
Cheers!
Andrew
On Monday, November 25, 2002, at 06:09 PM, Christoph Lehmann wrote:
> Hi folks
> We do fMRI experiments and are looking for a stimulus delivery system,
> running under linux. What we would need, apart from the stimulus
> presentation:
>
> 1)possibility to read a parallel-port pin, which inputs roughly every
> 100ms a TTL pulse (a pulse for every brain slice scanned)
> 2)counting these pulses, and say every 16th pulse do "something" e.g.
> present the next stimulus
> 3)record the mouse presses of the subject in a log file inclusive a
> timestamp relative to the stimulus presentation
>
> do you think, this could be done with visionegg with reasonable effort?
> does anybody already use a similar setting?
>
> we appreciate any help and hints!!
>
> thanks a lot
>
> cheers
>
> christoph
>
>
> --
> Christoph Lehmann
> Department of Psychiatric Neurophysiology
> University Hospital of Clinical Psychiatry
> Waldau
> CH-3000 Bern 60
> Switzerland
>
> Phone: ++41 31 930 93 83
> Fax: ++41 31 930 96 61
> Email: lehmann@xxxxxxxxxxxx
> Web:
>
>
> ======================================
> The Vision Egg mailing list
> Archives: http://www.freelists.org/archives/visionegg
> Website: http://www.visionegg.org/mailinglist.html
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
Other related posts: