Timer and Visibility Issue
This is my goal:
1) A appears for 500 msec (this is the cue) 2) Inter-stimulus interval of 650 msec (ISI) 3) B appears for 500 msec (this is the main stimulus) and then disappears Right now, I have 1) and 2) successfully coded, but B doesn't want to go away (it stays on-screen). When I try to time B to become invisible, it never appears in the first place. Below is the code representing this situation. The main_function calls the Timer/Visibility functions. A and B represent the cue and stimulus object nodes, respectively. Code:
def cueshow(): |
One thing I should probably mention is that the main_function runs on every frame.
|
Try using a task function to control the program flow. For example:
Code:
''' |
All times are GMT -7. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC