[visionegg] Re: Stimuli updates not rendering

Hi Thorsten,

(Sorry it took so long to have a look at your code.) I think the overall idea of this program is really good -- I like the concept of being able to describe an experiment with a simple configuration file.

Anyhow, I think the problem boils down to setting the parameter (such as "on") of a stimulus. I changed your line of code from:

self.stimulis[self.stimulis_freq_sec.index(interval)].set('on', False)

to:

self.stimulis[0].set(on=False)

which is like the following, but with error checking:

self.stimulis[0].parameters.on = False

This made the first of the stimuli turn off. I guess this is what the problem was. I hope this helps.

-Andrew

Thorsten Pfister wrote:
Hi,

thanks for the input. Unfortunately I made no progress, so I'll post the complete code.
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: