|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/18/2008 9:12:14 AM
Posts: 4,
Visits: 52
|
|
| Hello, I'm trying to use EPrime in conjunction with a graphics tablet. I basically want a figure to be present on a slide and then underneath get participants to draw the figure (using the graphics pen as if it is the mouse I assume). I'd want to record factors such as velocity and onset time. I imagine I can do this by recording x y coordinates and some sort of response time. I'd need to get a visible trace on-screen from where the participants are drawing the figure. Does anyone know if this is possible? Thank you very much for any suggestions.
|
|
|
|
|
Forum MVP
      
Group: Administrators
Last Login: Today @ 8:55:28 AM
Posts: 536,
Visits: 1,158
|
|
| If the times when clicks are of interest then using the ResponseData facilities will provide that information and we can touch base on that. But my assumption is that you want every mouse move while the button is already down. My suggestion would be to take Sample: Process Responses Template and in the "insert your action here" use Mouse.GetCursorPos coupled with Clock.Read and c.SetAttrib to log the x/y and times each time they change. -Brandon
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/18/2008 9:12:14 AM
Posts: 4,
Visits: 52
|
|
| Marvellous thank you. I'll have a fiddle with that. Thanks. Kerry
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/18/2008 9:12:14 AM
Posts: 4,
Visits: 52
|
|
| Thanks again for the suggestions, I've tried the things you've said but I'm still struggling to get anything useful out of it. It's down to me putting incorrect script in I think, I'm rather rusty with EPrime. Do you by any chance have any sample scripts of the sort of thing that I should be inputting (to get Mouse.GetCursorPos coupled with Clock.Read and c.SetAttrib to log the x/y and times each time they change, as you suggested)? Thank you very much. Kerry
|
|
|
|
|
Forum MVP
      
Group: Administrators
Last Login: Today @ 8:55:28 AM
Posts: 536,
Visits: 1,158
|
|
| Take a look at the attached, while the IsPending loop is pumping, the loop gets the X/Y of the mouse, compares to the last mouse coordinates and if they differ, adds them in their own row to the data file under Mouse.CursorX, etc. columns. -Brandon
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/18/2008 9:12:14 AM
Posts: 4,
Visits: 52
|
|
| That's fantastic, thank you so much!
|
|
|
|