hiding "openended" textbox within a trial


Author
Message
nrouhani
nrouhani
Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)
Group: Forum Members
Posts: 83, Visits: 261
hello!

I am currently attempting to create a trial structure in which (1) stimulus 1 appears, (2) stimulus 1 disappears + a response textbox appears, (3) textbox disappears + stimulus 2 appears. 

It seems that I can't hide the textbox within a trial when I use "openended" (I need the textbox to be absent both at the beginning and the end of the trial) - is there a solution for this? 

Otherwise, would I have to set up the above three phases as different trial types? If so, within a "block", is there a way to go through a sequence of distinct trial types instead of having to specify the type of trial for each trial number? Or does it have to look something like this? 
<block block1>
/ trials = [1,4,7 = sequence(cue); 2,5,8 = sequence(myopenended); 3,6,9 = sequence(outcome)]
</block>

Thank you so much for your help! 
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
nrouhani - Wednesday, August 2, 2017
hello!

I am currently attempting to create a trial structure in which (1) stimulus 1 appears, (2) stimulus 1 disappears + a response textbox appears, (3) textbox disappears + stimulus 2 appears. 

It seems that I can't hide the textbox within a trial when I use "openended" (I need the textbox to be absent both at the beginning and the end of the trial) - is there a solution for this? 

Otherwise, would I have to set up the above three phases as different trial types? If so, within a "block", is there a way to go through a sequence of distinct trial types instead of having to specify the type of trial for each trial number? Or does it have to look something like this? 
<block block1>
/ trials = [1,4,7 = sequence(cue); 2,5,8 = sequence(myopenended); 3,6,9 = sequence(outcome)]
</block>

Thank you so much for your help! 

You can handle phases 1 and 2 in a single <openended> element if you wish, but you can use a <trial> for phase 1 and an <openended> for phase 2, too, if that's more to your liking. For phase 3, you would need a distinct trial. You can "chain" those trials using /branch, and you would only have to select the 1st trial in the chain in your <block>. In essence:

<openended a1>
/ stimulustimes = [0=astim1; 2000=clearscreen]
...
/ branch = [
    trial.a2
]
</openended>

<trial a2>
/ stimulustimes = [0=astim2]
...
</trial>

<openended b1>
/ stimulustimes = [0=bstim1; 2000=clearscreen]
...
/ branch = [
    trial.b2
]
</openended>

<trial b2>
/ stimulustimes = [0=bstim2]
...
</trial>

<block myblock>
/ trials = [
    1-10 = noreplace(a1,b1)
]
</block>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search