However, for the P300 setup I wanted to fix the target word, that users need to spell in the test phase. At this moment these target characters are selected randomly. Therefore, I tried to change the scenario file "p300-speller-stimulations-targets.xml" for the xml stimulation scenario player by throwing away the loop and the probability switches. But there seems to be a problem now. The first character is displayed correctly, but starting from the second one, all following characters are also displayed. The algorithm does not wait anymore until the next TrialStop event. It seems as if the TrialStop is activated for the first time it stays actived.
My code looks like this:
Code: Select all
<Node class="ActionWaitEvent">
<Property class="Event">
<Parameter class="IVariable">TrialRestStart</Parameter>
</Property>
</Node>
<Node class="ActionWaitTime">
<Property class="Duration">
<Parameter class="IVariable">PreTrialWait</Parameter>
</Property>
</Node>
<Node class="ActionSendEvent">
<Property class="Event">
<Parameter class="IVariable">TargetRow2</Parameter>
</Property>
</Node>
<Node class="ActionSendEvent">
<Property class="Event">
<Parameter class="IVariable">TargetColumn1</Parameter>
</Property>
</Node>
<Node class="ActionWaitEvent">
<Property class="Event">
<Parameter class="IVariable">TrialStop</Parameter>
</Property>
</Node>
<Node class="ActionWaitEvent">
<Property class="Event">
<Parameter class="IVariable">TrialRestStart</Parameter>
</Property>
</Node>
<Node class="ActionWaitTime">
<Property class="Duration">
<Parameter class="IVariable">PreTrialWait</Parameter>
</Property>
</Node>
<Node class="ActionSendEvent">
<Property class="Event">
<Parameter class="IVariable">TargetRow4</Parameter>
</Property>
</Node>
<Node class="ActionSendEvent">
<Property class="Event">
<Parameter class="IVariable">TargetColumn3</Parameter>
</Property>
</Node>
<Node class="ActionWaitEvent">
<Property class="Event">
<Parameter class="IVariable">TrialStop</Parameter>
</Property>
</Node>
<Node class="ActionWaitEvent">
<Property class="Event">
<Parameter class="IVariable">TrialRestStart</Parameter>
</Property>
</Node>
<Node class="ActionWaitTime">
<Property class="Duration">
<Parameter class="IVariable">PreTrialWait</Parameter>
</Property>
</Node>
<Node class="ActionSendEvent">
<Property class="Event">
<Parameter class="IVariable">TargetRow2</Parameter>
</Property>
</Node>
<Node class="ActionSendEvent">
<Property class="Event">
<Parameter class="IVariable">TargetColumn3</Parameter>
</Property>
</Node>
<Node class="ActionWaitEvent">
<Property class="Event">
<Parameter class="IVariable">TrialStop</Parameter>
</Property>
</Node>