Millisecond Forums

Having trouble tracking the images displayed

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

By mingwu - 2/21/2017

Hi,
I'm having trouble localizing the image displayed to participants in the task. How can I pinpoint (let the image path) show in the data file?

Thanks a lot!
By Dave - 2/21/2017

mingwu - Tuesday, February 21, 2017
Hi,
I'm having trouble localizing the image displayed to participants in the task. How can I pinpoint (let the image path) show in the data file?

Thanks a lot!

I don't understand the question. Could you please give a concrete example? Where is your script stored? Where are your images stored?
By Dave - 2/21/2017

Dave - Tuesday, February 21, 2017
mingwu - Tuesday, February 21, 2017
Hi,
I'm having trouble localizing the image displayed to participants in the task. How can I pinpoint (let the image path) show in the data file?

Thanks a lot!

I don't understand the question. Could you please give a concrete example? Where is your script stored? Where are your images stored?

If you have something like this

<picture somepicture>
/ items = someitems
</picture>

<item someitems>
/ 1 = "D:\a.jpg"
/ 2 = "D:\b.jpg"
</item>

<trial sometrial>
/ stimulusframes = [1=somepicture]
/ validresponse = (57)
</trial>

<block someblock>
/ trials = [1-2 = sometrial]
</block>

<data>
/ columns = [date time subject group blocknum blockcode trialnum trialcode response latency correct picture.somepicture.currentitem]
/ separatefiles = true
</data>

you can log the <picture> element's currentitem property to the data file. That will include the path information.