[visionegg] Re: trigger

Dear Alessandra,

What happens when you run the daq/simple_lpt_out.py demo? Does this work for you? If so, what further information do you need?

random.randint(0,1) will return a random integer of value either 0 or 1.

Cheers!
Andrew

Alessandra Stella wrote:

Dear Andrew,

I'm setting a psychophysiological experiment. I'm showing two gabors (one on the left and the other on the right of the screen) that change their configuration in a contrast reversal mode following a temporal frequency of 6 and 8 Hertz, respectively.

For every change (for every reversal) in the configuration of two gabors I need a pulse (trigger) to be sent to the computer that records the EEG signal. I really don't know how to do that. Can you help me by giving me some suggestion or example code to do that? I installed winio and when I run "check config" it says: winio appears to work.

I also display a small arrow; it should appear randomly on the left or on the right of the central fixation point. Could you tell me how to use the random module in order to do that?



Thank you so much!!!

Alessandra



--
Andrew D. Straw  Post-doctoral scholar
,-.              Dickinson Lab
\_/              California Institute of Technology
8||}             Mailcode 138-78
/ \              Pasadena CA 91125, USA
`-^
                email:  astraw@xxxxxxxxxxx
                 office: +1 626 395 5828


====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html

Other related posts: