Experiment(){
Context(){
AssignmentGroup(){
new Correct = 3;
SubjectCode = "pxlab";
DataFileTrialFormat = "%SubjectCode% %TrialCounter% %Trial.TwoStrings.ResponseTime% %Trial.Feedback.Response% %Diff%";
new Diff = (TierLinksCode-TierRechtsCode);
new TierLinksCode = 1;
new TierRechtsCode = 1;
ExperimentName = lang2("Symbolic Distance Effect (Moyer, 1973)", "Symbolischer Distanzeffekt (Moyer, 1973)");
}
Session(){
Instruction(){
Text = lang2(["Object Size Judgement", " ", "We will show you two concepts in every trial. Your task is to decide which of the concepts describes the larger objects.", "Please use the left and right mouse buttons to choose that concept which describes the larger objects.", " ", "Press any key now to start the experiment!"], ["Beurteilung der Größe von Objekten", " ", "In jedem Durchgang werden Ihnen zwei Begriffe gezeigt. Ihre Aufgabe ist, zu entscheiden, welcher der beiden Begriffe die größeren Objekte bezeichnet.", "Wählen Sie bitte so schnell Sie können mit Hilfe der Maustasten links/rechts den Begriff, der die größeren Objekte bezeichnet.", " ", "Zum Starten drücken Sie bitte eine beliebige Taste!"]);
}
}
SessionEnd(){
SessionEndMessage(){
}
}
Block(){
BlockStartMessage(){
}
}
BlockEnd(){
BlockEndMessage(){
}
}
Trial( TrialCounter, Feedback.Response, TwoStrings.SignalText, TwoStrings.ProbeText, Correct, Diff, TwoStrings.ResponseCode, TwoStrings.ResponseTime){
FixationMark(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 400;
}
ClearScreen:wait1(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 300;
}
TwoStrings(){
Timer = de.pxlab.pxl.TimerCodes.RESPONSE_TIMER;
ResponseSet = [9, 1, 9, 3];
SignalLocationX = -250;
SignalLocationY = 0;
SignalSize = 100;
SignalColor = lightGray();
ProbeColor = lightGray();
ProbeLocationX = 250;
ProbeLocationY = 0;
ProbeSize = 100;
SOATimer = de.pxlab.pxl.TimerCodes.NO_TIMER;
}
Feedback(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 500;
ResponseParameter = "Trial.TwoStrings.ResponseCode";
CorrectCode = Correct;
CorrectText = "%Trial.TwoStrings.ResponseTime@i% ms";
FalseText = "Falsch!";
Evaluation = de.pxlab.pxl.EvaluationCodes.COMPARE_CODE;
}
ClearScreen:wait2(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 2000;
}
}
// Command line assignments
AssignmentGroup();
}
Factors(){
DependentFactor( Trial.TwoStrings.ResponseTime);
IndependentFactor( Trial.TwoStrings.SignalText, TierLinksCode){
FactorLevel( lang2("ANT", "AMEISE"), 1);
FactorLevel( lang2("MOUSE", "MAUS"), 2);
FactorLevel( lang2("RABBIT", "HASE"), 3);
FactorLevel( lang2("DOG", "HUND"), 4);
FactorLevel( lang2("HORSE", "PFERD"), 5);
}
IndependentFactor( Trial.TwoStrings.ProbeText, TierRechtsCode){
FactorLevel( lang2("ANT", "AMEISE"), 1);
FactorLevel( lang2("MOUSE", "MAUS"), 2);
FactorLevel( lang2("RABBIT", "HASE"), 3);
FactorLevel( lang2("DOG", "HUND"), 4);
FactorLevel( lang2("HORSE", "PFERD"), 5);
}
}
Procedure(){
Session(){
Block(){
Trial( ?, 0, lang2("ANT", "AMEISE"), lang2("MOUSE", "MAUS"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("ANT", "AMEISE"), lang2("RABBIT", "HASE"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("ANT", "AMEISE"), lang2("DOG", "HUND"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("ANT", "AMEISE"), lang2("HORSE", "PFERD"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("MOUSE", "MAUS"), lang2("RABBIT", "HASE"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("MOUSE", "MAUS"), lang2("DOG", "HUND"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("MOUSE", "MAUS"), lang2("HORSE", "PFERD"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("RABBIT", "HASE"), lang2("DOG", "HUND"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("RABBIT", "HASE"), lang2("HORSE", "PFERD"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("DOG", "HUND"), lang2("HORSE", "PFERD"), 3, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("HORSE", "PFERD"), lang2("DOG", "HUND"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("HORSE", "PFERD"), lang2("RABBIT", "HASE"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("HORSE", "PFERD"), lang2("MOUSE", "MAUS"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("HORSE", "PFERD"), lang2("ANT", "AMEISE"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("DOG", "HUND"), lang2("RABBIT", "HASE"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("DOG", "HUND"), lang2("MOUSE", "MAUS"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("DOG", "HUND"), lang2("ANT", "AMEISE"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("RABBIT", "HASE"), lang2("MOUSE", "MAUS"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("RABBIT", "HASE"), lang2("ANT", "AMEISE"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
Trial( ?, 0, lang2("MOUSE", "MAUS"), lang2("ANT", "AMEISE"), 1, (TierLinksCode-TierRechtsCode), ?, ?);
}
}
}
}