{
conditions: [{type:'inputEquals',value:'primeOut'}], // on time out
actions: [
{type:'hideStim',handle:'primeStim'}, // hide the first stimulus
{type:'showStim',handle:'targetStim'}, // and show the second one
{type:'resetTimer'},
//Set the possible key inputs.
{type:'setInput',input:{handle:targetCats.leftAttTargets.name, on: 'keypressed', key:'e'}},
{type:'setInput',input:{handle:targetCats.rightAttTargets.name, on: 'keypressed', key:'i'}},
{type:'setInput',input:{handle:'responseOut',on:'timeout', duration:piCurrent.deadlineDuration}}
{type:'setInput',input:{handle:'targetOut',on:'timeout', duration:piCurrent.targetDuration}}
]
},
{
conditions: [{type:'inputEquals',value:'tagretOut'}], // show the prime stimulus
actions: [
{type:'hideStim',handle:'targetStim'},// display the first stimulus
{type:'showStim',handle:'maskStim'}
]
},
{
conditions: [
{type:'inputEquals',value:'responseOut'},
{type:'globalEquals',property:'deadlineDuration', value:0, negate:true} //if deadline duration is 0, then there is no deadline.
], // on time out
actions: [
{type:'showStim',handle:'deadline'}, // did not respond on time
{type:'setTrialAttr', setter:{score:2}}, //2 is for timeout
{type:'log'}, // here we call the log action.
{type:'removeInput', handle:'All'},
{type:'trigger', handle:'goBlank', duration:piCurrent.deadlineMsgDuration}
]
},
--
You received this message because you are subscribed to the Google Groups "Minno.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minnojs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/CAPGF78GwxJP%3DyPi1Y6m3BC2sy66mgdhM84C5Hp2F-7z1L_Wckg%40mail.gmail.com.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/06a77bf9-358c-4152-9c85-5357d7cd28e5n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/c135c89a-7b38-46ee-b14c-9a35efc0494fn%40googlegroups.com.
//The task can show a mask at the end of the target, if the target duration is larger than 0 and useMask is true. useMask : false, maskStimulus : { css : {color:'black', 'font-size':'2.5em'}, media : {word:'BBBBBBBB'} },
//If separateStimulusSelection is 'complete', it means that for each prime-target combination, the program will exhaust all the prime-target stimulus combinations //before repeating a stimulus-stimulus combination again. //If separateStimulusSelection is 'partial', it means that the program will select the prime and target stimuli randomly without repetition for each prime-target combination until exhaustion //If separateStimulusSelection is 'none' it means that the program will select the stimuli randomly without repetition for the whole task. // //For example, if a prime category has the items A, B, and C = random selection without repetition (i.e., 'none') will not select the same stimulus twice until the other stimuli of the same prime or target category are selected. //If this parameter is set to 'partial', after selecting the prime stimulus A with a target of the category 'positive', 'A' will not be selected again in trials with 'positive' targets, //until B and C are also selected. However, 'A' might appear as prime for other target because their selection is separate. //If this parameter is set to 'none', then 'A' will not be selected in any trial, until 'B' and 'C' are also selected. //If this parameter is set to 'complete', then 'partial' would apply, but, the selection would also make sure that no stimulus-stimulus //combination will repeat within the same prime-target category combination, until all the other combinations have been selected. separateStimulusSelection : 'partial',