Millisecond Forums

When I used openended instead of trial...

https://forums.millisecond.com/Topic17660.aspx

By 中风的少女 - 11/8/2015

when I used openended instead of trial, my text and pics could not be presented on the same page at the same time.
in the trial
<trial 2ab1>
/stimulustimes = [1=pic1,description1]
/validresponse=("A","B","C","D")
/timeout=(1500)
/ recorddata = true
</trial>
the pic and description will be presented at the page.
<openended 2ab2>
/stimulusframes = [1=pic1,description2]
/range = (0,100)
/ buttonlabel = "enter"
/ inputdevice = keyboard
/position = (50%,80%)
/ numlines = 1
/ mask = positiveintegerorzero
</openended>
But in the openened, it could just show the pic1 without text. I tried to take pic1 away like /stimulusframs=[1=description2]  the word will come out but without pic.

By Dave - 11/8/2015

That is incorrect. /stimulusframes and -times in <openended> work exactly the same as they do in <trial>.

<block myblock>
/ trials = [1=mytrial; 2=myopenended]
</block>

<trial mytrial>
/ stimulusframes = [1=a, b]
/ validresponse = (57)
</trial>

<openended myopenended>
/ stimulusframes = [1=a, b]
/ validresponse = (" ")
/ position = (50%, 75%)
</openended>

<text a>
/ items = ("This is stimulus A.")
/ position = (50%, 25%)
</text>

<text b>
/ items = ("This is stimulus B.")
/ position = (50%, 50%)
</text>

If one of your stimuli "isn't showing up", there's some mistake in your script. Check your stimulus elements' /position attributes and other settings.