Error message question


Author
Message
uni-student92084
uni-student92084
Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)
Group: Forum Members
Posts: 57, Visits: 172
Hello, 

I'm trying to make an error message in my script and I don't know how to implement the error message into my trials.

I am referencing how to make an error message from a different IAT script which looks like this:  

<trial attributeA>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = attributeA, errorReminder]
/ posttrialpause = parameters.ISI
</trial>


This is what I am working with, I don't have a stimulus frame where I can implement the "error Reminder", so I don't know where to put the error message:

<trial DemB>
/ validresponse = ("E")
/ correctresponse = ("E", "I")
/ beginresponsetime = 0
/ontrialbegin = [
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 0);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 1000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 2000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 3000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 4000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 5000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 6000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 7000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 8000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 9000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 10000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 11000);
  trial.DemB.insertstimulustime(list.Demplus.nextvalue, 12000);]
/ posttrialpause = 500
/ontrialend= [trial.DemB.resetstimulusframes(7000)]
</trial>
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
uni-student92084 - 4 Years Ago
Dave - 4 Years Ago
uni-student92084 - 4 Years Ago
Dave - 4 Years Ago
uni-student92084 - 4 Years Ago
                         You can define /errormessage at the block-level or at the trial-level....
Dave - 4 Years Ago
                             I see, thanks so much for your help.
uni-student92084 - 4 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search