Xperiment v2 no nonsense quick start guide

Navigating to your experiment on xpt.mobi

 

Log in to www.xpt.mobi. Currently, you need an invite from an existing lab-member to get an account.

 

Go to your lab:

 

 

Select ‘Manage experiments’

Find your study. Click on it’s name, and the experiment will load up in a new tab. Also, in the same row, you’ll see ‘Edit’. Click this too. You can juggle between these two tabs to fine tune your study.

 

 

If the experiment has already been uploaded, it will live in the ‘experiments’ directory. The experiment below is called ‘Expt1’. All stimuli are stored in the ‘stimuli’ folder. The ‘script’ (text file) where your experiment is specified is in the Expt1 directory.

 

You can right click the folders and files. You can change the name of the default experiment script here (normally the default script is the script with the same name as the experiment directory it is within).

 

 

To edit a script. Double click it. You can also edit html and JS files if so needed.

Fiddling with your study

 

You can edit the text within the black window. Scripts are stored in a format called XML. If you ‘brake’ this file, like by adding an extra quotation mark (below), note how the script editor colour formatting goes a bit bananas (goes red).

To save your changes click ‘save’ or press Ctrl+s

 

At the bottom left of the screen (replacing © Xperiment) you’ll get a small ‘saved’ animation.

 

The different parts of your experiment script

 

There are normally 2 parts of your script. The SETUP bit and the bit where TRIALs are specified.

SETUP is boring. To make the many settings easier to digest, you can specify them in difference nodes (e.g. screen, style and variables).

TRIALs are far more fun.

Each stimulus you want is placed within a <TRIAL> </TRIAL>. Above we have some text shown, a multiple choice question, and a button.

The following stimuli currently exist:

  • Age
  • Box
  • Button
  • Checkboxes
  • comboBox
  • imageSequence (scrolling quickly between images can be rather useful)
  • input (text input)
  • language (change the language of the study)
  • lineScale
  • Link (html link)
  • multipleChoice
  • nextTrialButton (which can be made conditional on certain on screen events)
  • numberStepper
  • progressBar
  • Sex
  • Text
  • TrialCounter

 

There are ‘non visible stimuli’ too, including:

  • Timer
  • Shuffle (randomly shuffle stimuli attributes)
  • Drag (stimuli around the screen)
  • Results (add data to the results of a trial)

Leave a Reply

Your email address will not be published. Required fields are marked *