Thread Tools  
Litobig
Junior Member
 
Join Date: Apr 2011
Litobig is on a distinguished road Posts: 4
Hello,
In a stroop-like task, I would like to set some "condition expression" options in order not to have repetition of color or word dimension from a trial to another.
I created some variables (I have four words and four colors) and set condition expression for each trial :
For instance, when a trial color is BLUE, I set the following condition expression in the when to present frame :
"Current trial's code value is not set up to color (variable) BLUE". Si that I hope to obtain a different color in each trial.

The problem is that, when I set this up for all of the events, it does not seem to work : when I start the experiment, nothing happens and it seems that there isn't any trial that suits condition expression and that can be "presented".

Anyway, there may be a better way to control a trial-to-trial (no-)repetition.

I hope you understood the issue since I'm not a native english
Thanks,

Litobig
Reply With Quote
MonikaT
Senior Member
 
Join Date: Mar 2008
MonikaT is on a distinguished road Posts: 1,279
Posted July 11th, 2012 #2
Can you please post your experiment as an Experiment Package? This is found under the File menu within SuperLab.
Reply With Quote
Litobig
Junior Member
 
Join Date: Apr 2011
Litobig is on a distinguished road Posts: 4
Posted July 12th, 2012 #3
Hello,
Presently, I haven't got the right computer with me (the "Superlab" one !). I'll post the experimental package soon.

Thank you,

Litobig
Reply With Quote
Litobig
Junior Member
 
Join Date: Apr 2011
Litobig is on a distinguished road Posts: 4
Posted July 13th, 2012 #4
Hi,
Here is my experimental package, thank you for watching
Actually, it is not a definitive version but if I succeed in launching this "192" block, I'll be able to keep on working.
I aim to have no "trial-to-trial" repetition for "word" and "font" variables.

Sincerely,

Litobig
Attached Files
File Type: zip wordfont.zip (6.8 KB, 8 views)
File Type: tgz wordfont.tgz (6.5 KB, 4 views)
Reply With Quote
MonikaT
Senior Member
 
Join Date: Mar 2008
MonikaT is on a distinguished road Posts: 1,279
Posted July 23rd, 2012 #5
I apologize for the delay in getting back to you. Attached is your experiment with some modifications which are explained below. It is recommended that you use stimulus lists for your events in the future. Since we modified only the first trial, I couldn’t verify 100% that the changes would work, but they should.
  • A code was created named "Last Color Used" with the values being all four of your colors
  • Four macros were created to check for the last color presented. The first macro is "Check if last presented color is "Bleu"
  • Under the Expression tab: "Number of Trials Presented in This Block is equal to 1 trials (Using only the last 1 trials in the block and Trials marked with the code "Couleur"equal to "Bleu")
  • For the If True tab: Change the value of code "Last Color Used" to "Bleu" in all trials in this block
Within the Trial Editor only the first trial "R1V1" has the modifications.
  • Under When to Present in the Trial Editor: "Number of times this trial has been presented is equal to 0 and Current trial's code "Last Color Used" is not set to "Rouge"
Attached Files
File Type: sl4 wordfontrev.sl4 (88.4 KB, 17 views)
Reply With Quote
Tags
conditional event, stroop
Thread Tools
Posting Rules
Forum Jump:
Copyright Cedrus Corporation, 1991-2014.
All times are GMT -7. The time now is 06:34 PM.