Stimuli isn't properly going across the screen in practice trials


Author
Message
PileOfTrash
PileOfTrash
Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)
Group: Forum Members
Posts: 8, Visits: 40
Hello again! I'm having a problem with incorporating practice trials into my script, and the problem is that it's not mirroring the actual experiment correctly.

Basically, for the practice trials, we're basically mirroring the experiment (which is two set of numbers go across the screen and the participant takes notes of the averages shown and they press I or E for which set of numbers are correct) but for some reason, the numbers aren't going across despite us using similar code to the experiment. I asked for help before in recording the randomized stimuli going across the screen. But for the practice trials, we don't need to record those numbers. 
Currently, the practice trials are only flowing one number across the screen and not the 40 that are supposed to go. (I put it under ptrials in the script)


PileOfTrash
PileOfTrash
Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)Associate Member (103 reputation)
Group: Forum Members
Posts: 8, Visits: 40
PileOfTrash - 5/20/2020
Hello again! I'm having a problem with incorporating practice trials into my script, and the problem is that it's not mirroring the actual experiment correctly.

Basically, for the practice trials, we're basically mirroring the experiment (which is two set of numbers go across the screen and the participant takes notes of the averages shown and they press I or E for which set of numbers are correct) but for some reason, the numbers aren't going across despite us using similar code to the experiment. I asked for help before in recording the randomized stimuli going across the screen. But for the practice trials, we don't need to record those numbers. 
Currently, the practice trials are only flowing one number across the screen and not the 40 that are supposed to go. (I put it under ptrials in the script)


Oops- submitted this accidentally. Anyways, there's only one number going across when there's supposed to be 40. There's a background stimulus that tells the participant which group is correct, so that they get used to the simulation. I was wondering why it's only showing one and not 40.
Attachments
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
PileOfTrash - 5/20/2020
PileOfTrash - 5/20/2020
Hello again! I'm having a problem with incorporating practice trials into my script, and the problem is that it's not mirroring the actual experiment correctly.

Basically, for the practice trials, we're basically mirroring the experiment (which is two set of numbers go across the screen and the participant takes notes of the averages shown and they press I or E for which set of numbers are correct) but for some reason, the numbers aren't going across despite us using similar code to the experiment. I asked for help before in recording the randomized stimuli going across the screen. But for the practice trials, we don't need to record those numbers. 
Currently, the practice trials are only flowing one number across the screen and not the 40 that are supposed to go. (I put it under ptrials in the script)


Oops- submitted this accidentally. Anyways, there's only one number going across when there's supposed to be 40. There's a background stimulus that tells the participant which group is correct, so that they get used to the simulation. I was wondering why it's only showing one and not 40.

<list ptrial_Repplus1>
/ items = (text.practice_trialA_1G2)
/ selectionrate = always
/ selectionmode = random
/ replace = false
/ poolsize = 50
</list>

There's only one stimulus, not 40, so only one is shown.

<trial ptrialA_1GO>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponseframe = 0
/ontrialbegin = [
    trial.ptrialA_1GO.resetstimulusframes();
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 0);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 1000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 2000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 3000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 4000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 5000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 6000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 7000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 8000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 9000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 10000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 11000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 12000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 13000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 14000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 15000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 16000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 17000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 18000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 19000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 20000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 21000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 22000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 23000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 24000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 25000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 26000);
  trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 27000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 28000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 29000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 30000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 31000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 32000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 33000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 34000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 35000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 36000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 37000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 38000);
    trial.ptrialA_1GO.insertstimulustime(list.ptrial_Repplus1.nextvalue, 39000)]
</trial>

You cannot insert the same animated stimulus over and over again at different timepoints in the same tria, you need to define separate stimulus elements.
Edited 5 Years Ago by Dave
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search