Timing
Hi,
I've search through this and Vizard help for various timing hints but I still can't get the script to do exactly what I want. I basically want to start the timer on a mouse click (which will also start the stimulus running) and record/ print the time an object begins to move and stops moving (in milliseconds) - printing the object's x,y,z along with these times. Has anybody done this? Thank you. Jaclyn |
Here is a sample script that waits for the left mouse button to be clicked then moves a ball while printing out the current time in milliseconds and its current position. Let me know if anything is unclear.
Code:
import viz |
timing
Great, I've got it working fine now.
Thank you. Jac |
All times are GMT -7. The time now is 01:41 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC