Millisecond Forums

Answers in trial are not saved

https://forums.millisecond.com/Topic10591.aspx

By RomualdKotowicz - 6/3/2013

I have problem with following trial:


<trial cue>


/ ontrialbegin = [values.trialcount+=1; values.randomNumber = rand(0, 100); values.cuetype = expressions.nextCuetype]


/ stimulustimes = [0=cue]


/ trialduration = 2000


/ recorddata = true


/ validresponse = (57, noresponse)


/ isvalidresponse = [expressions.validationlogic]


</trial>


I always get empty response in results:


date   time   subject   blocknum   blockcode   values.trialcount   trialcode   response   latency   correct   error   values.cuetype   trial.cue.latency   trial.cue.correct   trial.cue.error


060413   15:39:23   1   1   testblock   1   cue   0   2000   0   1   1   2000   0   1


060413   15:39:23   1   1   testblock   2   cue   0   2000   0   1   1   2000   0   1


060413   15:39:23   1   1   testblock   3   cue   0   2000   0   1   1   2000   0   1


060413   15:39:23   1   1   testblock   4   cue   0   2000   0   1   1   2000   0   1


060413   15:39:23   1   1   testblock   5   cue   0   2000   0   1   1   2000   0   1


The test is very simple, but I can't figure-out why answers are not saved.



Thanks for help,

Romek
By Dave - 6/3/2013

The response column is not empty. It indicates '0' for all trials, i.e., no valid response occurred (as can also be seen by looking at 'latency', which is always equal to timeout, i.e., 2000 ms).

By RomualdKotowicz - 6/3/2013

Thank you for hint. I had invalid expression for isvalidresponse tag. It got always false value and it was treated invalid.


You saved me a lot of time.


Thanks,


Romek