View Single Post
  #11  
Old 09-12-2018, 01:21 AM
peterparker peterparker is offline
Member
 
Join Date: Aug 2018
Posts: 12
Thanks for the info regrading actions, that would be the second way I outlined above. Good enough for now. As I pointed out earlier, hard coding would not be preferable. I do think, though, that the option for getting the current refresh rate would be great for a graphics/3D engine.

Btw., is there a Vizard command to get the current system time? Or do you have to rely on python's 'time' library?

From using the PsychToolbox I am used to have a command that waits for a particular system. There you can get a time stamp from basically every time critical command and then wait for this time stamp plus 10 ms, e.g.

But then the minimum time interval you can wait in the Vizard is bound to the refresh rate, correct? Unless you are using the director function, of course (which spawns another thread, iirc).
Reply With Quote