We programmed a study in the new openDashboard, and encountered a problem in getting the data after running the study.
We built a time task called 'sortpre.js', that calls the `startMouseTracking` and `stopMouseTracking` functions. When running the task, the responses and tracking data are saved to global, but the response we get from the data server is:
We added a control task called 'del.js' (a quest task), and this task didn't have these issues.
Interestingly, when we removed the calls to the MouseTracking functions, we seem to get the data from the server:
As Michael noted in a recent thread, we can't find the option of "Create public link" under sharing. So, we made the study public for now. It's called 'dummymouse'.
{
conditions: [{type:'inputEquals',value:'startButton'}],
actions: [
{type:'removeInput',handle:['startButton']},
{type:'startMouseTracking', logAs:'tracking', logRate: 15, logStimulusLocation: ['startHandle']},
{type:'showStim',handle:'target'},
{type:'setInput',input: {handle:'groupA',on:'click',stimHandle: 'myGroupAHandle'}},
{type:'setInput',input: {handle:'groupB',on:'click',stimHandle: 'myGroupBHandle'}},
{type:'resetTimer'}
]
},
{
conditions: [{type:'inputEqualsTrial', property:'correctResp'}], //Correct
actions: [
{type:'removeInput',handle:['All']},
{type:'stopMouseTracking'},
{type:'showStim', handle:'correct'},
{type:'log'},
{type:'trigger',handle:'endTrial', duration:350}
]
},
{
conditions: [{type:'inputEqualsTrial', property:'mistakeResp'}], //Incorrect
actions: [
{type:'removeInput',handle:['All']},
{type:'stopMouseTracking'},
{type:'showStim',handle:'error'},
{type:'setTrialAttr',setter:{score:1}},
{type:'log'},
{type:'trigger',handle:'endTrial', duration:500}
]
},