Hi, I am trying to log success/fail during each trial and I was wondering if I could use “trial statistics” window on the Dexterit-E. I can’t seem to find simulink code that computes trial success/failure for the trial statistics window. How/where would I modify to utilize the trial statistics window?
There is some information on this in section 7.12 of the task programming guide. Though now that I read it I think it needs clarification.
If you want to use the trial statistics to show when trials have failed you need to create an event with type “error”. This is done in the Parameter Table Defn block’s Events tab. There is a combo box for each event you create that allows you to set the type of the event to “none” or “error”. If you fire an event of type “error” any time during a trial then we will make the trial as not successful – that causes the trial statistics to update to something other than 100% successful.
Please let me know if you have any other questions.