You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Josh
My condition timeline now can work well, unfortunately what I really needed is to end experiment when condition criteria not meet. Can I do this?
var two_feedback = {
type: 'html-keyboard-response',
stimulus: " ",
choices: jsPsych.NO_KEYS,
trial_duration: 7000,
on_finish: function(data) {
data.task2back = jsPsych.data.get().filter({even: '2-back', correct: true}).last(nback_length-2).count();
console.log(data.task2back) // even the data is 0.2 the experiment still continue
if(data.task2back < 0.7) {
jsPsych.endExperiment('Too many error!.')
}
}
};
timeline.push(two_feedback);
This still not work and I cant find other discussion about this topic. Again thanks for your help!!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Josh
My
condition timeline
now can work well, unfortunately what I really needed is to end experiment when condition criteria not meet. Can I do this?This still not work and I cant find other discussion about this topic. Again thanks for your help!!
Beta Was this translation helpful? Give feedback.
All reactions