![]() |
|
#2
|
|||
|
|||
|
The viztask.waitMouseDown command has been updated and no longer expects the viz.Data object to be passed as an argument. Use the following instead:
Code:
def example_trial(): startTime = viz.tick() response = yield viztask.waitMouseDown( None ) print 'response at: ', viz.tick() reactionTime = response.time - startTime print reactionTime |
| Tags |
| condition, data, deprecation, warning, yield |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unexpected Avatar lookAt() behavior when using yield statements | chris2307 | Vizard | 2 | 12-17-2013 03:58 AM |
| connecting to SMI iViewX running a RED tracker | pkhoosh | Vizard | 11 | 10-20-2011 05:17 PM |
| running experimental trials | fivel_lab | Vizard | 3 | 03-18-2011 03:58 PM |
| exiting a yield statement | starbug | Vizard | 2 | 01-12-2010 04:16 PM |
| Problems running R3 and R2.5 on the same computer | cade_mccall | Vizard | 5 | 09-05-2006 12:26 PM |