View Single Post
  #1  
Old 11-19-2008, 01:48 PM
vizLearner vizLearner is offline
Member
 
Join Date: Nov 2008
Posts: 2
vizact.ontimer problems?

Hi all,
I have a program that is supposed to give stimuli to a subject and constantly monitor a button for feedback from the subject. The button is not keyboard, but connected by adding a .dls file. The method to check the button, however, never runs. I had an older version that used a callback to a timer_event perfectly, and I don't know why it won't work now. Heres the code below that I think is relevant...


def giveStimuli():
...
def checkButton():
...
vizact.ontimer(.001,checkButton)
starttimer(0,.001,FOREVER)
viztask.schedule(giveStimuli())
Reply With Quote