Diff for "MikeFordsDMDXTutorial" - MRC CBU Language Wiki
location: Diff for "MikeFordsDMDXTutorial"
Differences between revisions 5 and 6
Revision 5 as of 2013-08-02 11:47:55
Size: 12164
Comment:
Revision 6 as of 2013-08-02 15:45:33
Size: 5017
Comment:
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
 * Before you download DMDX from the [[http://www.u.arizona.edu/~kforster/dmastr/dmastr.htm|DMastr website]] you should check out the information on the website about what hardware is and isn't compatible with DMDX. One of the main limiting factors is that you need large amounts video memory to run DMDX. You will need to install the DirectX graphics software either from the DMastr download page or from the Microsoft DirectX site.  * Before you download DMDX from the [[http://www.u.arizona.edu/~kforster/dmastr/dmastr.htm|DMastr website]] you should check out the information on the website about what hardware is and isn't compatible with DMDX. One of the main limiting factors is that you need large amounts video memory to run DMDX. You will need to install the DirectX graphics software either from the [[http://psy1.psych.arizona.edu/~jforster/dmdx/directx/|DMastr download page]] or from the [[http://www.microsoft.com/directx/|Microsoft DirectX site]].
Line 27: Line 27:
 * If all is OK, then set it up.  * If all is OK, then [[settingup|set it up]].
Line 31: Line 31:
Moving On ==== Moving On ====
Line 33: Line 33:
DMDX experiments are run using control files written in Rich Text Format. Rich text format is an option when using both Word and Wordpad. If you save a text file in DOS Edit with the extension .rtf then it will be read as rich text file by DMDX. There are some problems with editors explained both in the Help files and here . DMDX experiments are run using control files written in Rich Text Format. Rich text format is an option when using both Word and Wordpad. If you save a text file in DOS Edit with the extension .rtf then it will be read as rich text file by DMDX. There are some problems with editors explained both in the Help files and [[TipsAndGlossary|here]] .
Line 35: Line 35:
A control file contains two parts. The first part is a parameter line, which sets out the basic settings for the experiment, for example for a lexical decision experiment it would include items that control what colour the text will be, how long the text will be displayed, how long the subject has to respond what kind of data output file will be created, etc. A control file contains two parts. The first part is a parameter line, which sets out the basic settings for the experiment, for example for a lexical decision experiment it would include items that control what colour the text will be, how long the text will be displayed, how long the subject has to respond what kind of [[dmdx_data|data output file]] will be created, etc.
Line 38: Line 38:

Line 45: Line 43:
Clear? Actually it's not that difficult. Most of the parameters are fairly straight forward, e.g. <nfb> means " no feed back", no feedback on subject responses is sent to the the subject's screen. <dbc

            
> means the default background colour

of the screen is black. This will be explained further below.
Clear? Actually it's not that difficult. Most of the parameters are fairly straight forward, e.g. <nfb> means " no feed back", no feedback on subject responses is sent to the the subject's screen. <dbc 0> means the default background colour of the screen is black. This will be explained further below.
Line 59: Line 53:
Rich Text Format(.rtf), enables usage of mult iple / bold / italic / colour fonts. You simply write the text as you wish it to be displayed. Be careful with less standard fonts. DMDX has some problems with non standard fonts like, e.g. " Blood of Dracula " and non Latin fonts, e.g ARABIC . The problem with non standard fonts is that sometimes a few pixels are not erased, if you have this problem you should have a look at the DMDX tips page. Rich Text Format(.rtf), enables usage of multiple / bold / italic / colour fonts. You simply write the text as you wish it to be displayed. Be careful with less standard fonts. DMDX has some problems with non standard fonts like, e.g. "Blood of Dracula" and non Latin fonts, e.g ARABIC. The problem with non standard fonts is that sometimes a few pixels are not erased, if you have this problem you should have a look at the [[TipsAndGlossary|DMDX tips page]].
Line 63: Line 57:
         '''__Introduction __ '''


===== [[Tips and Glossary|Tips and Glossary]] =====
===== [[DMDXParadigms|Example paradigms]] =====
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML>

 . <HEAD>
  . <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Author" CONTENT="Mike Ford"> <META NAME="GENERATOR" CONTENT="Mozilla/4.06 [en] (Win98; I) [Netscape]"> <META NAME="Description" CONTENT="Introduction to DMDX experimental software"> <META NAME="KeyWords" CONTENT="DMDX, pscyholinguistics, experimental software"> <TITLE>
   . DMDX tutorial
  </TITLE>
 </HEAD>
  . <BR>
  . <P> <BR> <CENTER>
   . <P> <A NAME="Introduction"></A> <B>
    . <U>
     . <FONT FACE="Arial,Helvetica">
      . <FONT SIZE=+3>
       . Introduction
      </FONT>
     </FONT>
    </U>
   </B>
  </CENTER> <P> So, what is DMDX? It is your <BLINK>
   . friend
  </BLINK>
  . It is the Windows 95? Version of the Dmastr experimental software developed by Professor K. I. Forster and J.C. Forster at the University of Arizona. It is a reliable and easy to learn tool for experimental presentation of visual and auditory stimuli. The accurate timing of events and reaction times has led to DMDX being currently used in a wide range of experimental paradigms.
  <br> <br> This is not supposed to be a comprehensive <EM>
   . documentation
  </EM> for DMDX. It is designed to get you started, give you the basics for running DMDX. It can only take you so far, however. You will need to read the full documentation eventually (unfortunately?). It will be a lot easier for folk who have previously used Dmastr to use these pages to start using DMDX, but I hope that eventually that this will be a comprehensive. <EM>
   . tutorial
  </EM> for setting up and running experiments using DMDX. </P> <BR>
  <BR> <B>
   . PLEASE DO NOT CONTACT PROFESSOR FORSTER WITH PROBLEMS.
  </B> First you should check you have the most up-to-date version of DMDX, your problem may be an old bug that Jonathan has sorted. Then check the help files and the documentation and finally you should use the <A HREF="http://www.u.arizona.edu/~kforster/dmdx/dmdxls.htm">DMDX list serve.</A> <BR> <BR> Please acknowledge the use of the system in publications e.g., "This experiment was run using the DMDX experimental software programmed by Jonathan Forster at the University of Arizona. DMDX is a member of the DMASTR family of experimental software developed at Monash University and at the University of Arizona by K.I.Forster and J.C.Forster." <BR> <BR> Please have a look at <A HREF="http://www.mrc-cbu.cam.ac.uk/personal/matt.davis/dmdx.htmll">Matt Davis's DMDX tutorial</A> which goes through how to set up and run DMDX experiments from a different angle.
  <BR> <IMG SRC="../images/greyline.gif" HEIGHT=4 WIDTH="100%"> <H3>
   . Getting Started
  </H3>
  <OL>
   . <LI> Before you download DMDX from the <A HREF="http://www.u.arizona.edu/~kforster/dmastr/dmastr.htm">DMastr website</A> you should check out the information on the website about what hardware is and isn't compatible with DMDX. One of the main limiting factors is that you need large amounts video memory to run DMDX. You will need to install the DirectX graphics software either from the <A HREF="http://psy1.psych.arizona.edu/~jforster/dmdx/directx/">DMastr download page</A> or from the <A HREF="http://www.microsoft.com/directx/">Microsoft DirectX site</A>
   . </LI>
   <LI> If all is OK, then <A HREF="settingup.html">set it up.</A> </LI>
  </OL>
  <P> If you work here at the <A HREF="http://www.mrc-cbu.cam.ac.uk/">CBU</A> you should read the <A HREF="cbu_details.html">CBU specific information.</A>
  <IMG SRC="../images/greyline.gif" HEIGHT=4 WIDTH="100%"> <H3>
   . Moving On
  </H3>
  <P> DMDX experiments are run using control files written in Rich Text Format. Rich text format is an option when using both Word and Wordpad. If you save a text file in DOS Edit with the extension .rtf then it will be read as rich text file by DMDX. There are some problems with editors explained both in the Help files and <A HREF="dmdx_tips.html#Editor">here</A>
  . <P> A control file contains two parts. The first part is a parameter line, which sets out the basic settings for the experiment, for example for a lexical decision experiment it would include items that control what colour the text will be, how long the text will be displayed, how long the subject has to respond what kind of <A HREF="dmdx_data.html">data output file</A> will be created, etc. <BR> <BR> An example of a DMDX parameter line would be something like below.
  <BR> <BLOCKQUOTE>
   . <B>
    . <n 16> <s 16> <azk> <cr> <nfb> <fd 125> <t 2000> <id "PIO12"> <id "keyboard"> <dbc 0> <dwc 255000>
   </B>
  </BLOCKQUOTE>
  <P> <BR> <B>
   . Clear?
  </B> Actually it's not that difficult. Most of the parameters are fairly straight forward, e.g. <B>
   . <nfb>
  </B> means " <B>
   . <FONT COLOR="#FF0000">
    . n</FONT></B>o
  <B>
   . <FONT COLOR="#FF0000">
    . f</FONT></B>eed
  <B>
   . <FONT COLOR="#FF0000">
    . b</FONT></B>ack",
  no feedback on subject responses is sent to the the subject's screen.
  <B>
   . <dbc 0>
  </B> means the <B>
   . <FONT COLOR="#FF0000">
    . d</FONT></B>efault
  <B>
   . <FONT COLOR="#FF0000">
    . b</FONT></B>ackground
  <B>
   . <FONT COLOR="#FF0000">
    . c</FONT></B>olour
  of the screen is black. This will be explained further below.
  <P> The second part is the main part of the experiment, that is the words to be displayed, the sound files to be played, the coding for what kind of response is expected etc. A simple one, for a single word lexical decision might look like below. The words inside the quotes are what the subject would see, the rest of the coding is explained in the example pages. <BR> <BR> <BR> -1 * "SKELVE"/; <BR> +2 * " <FONT SIZE=+2>
   . GAME
  </FONT> "/; <BR> +3 * " <FONT COLOR="#993366">
   . BACON
  </FONT> "/; <BR> <P> Rich Text Format(.rtf), enables usage of mult <FONT FACE="Curlz MT">
   . <FONT SIZE=+2>
    . iple
   </FONT>
  </FONT> / <B>
   . bold
  </B> / <I>
   . italic
  </I> / <B>
   . <FONT COLOR="#993366">
    . colour
   </FONT>
  </B> fonts. You simply write the text as you wish it to be displayed. Be careful with less standard fonts. DMDX has some problems with non standard fonts like, e.g. <FONT FACE="Blood Of Dracula">
   . <FONT SIZE=+2>
    . "
    <A HREF="../downloads/fonts.zip">Blood of Dracula</A> "
   </FONT>
  </FONT> and non Latin fonts, e.g <A HREF="dmdx_arabiyya.html">ARABIC</A>
  . The problem with non standard fonts is that sometimes a few pixels are not erased, if you have this problem you should have a look at the
  <A HREF="dmdx_tips.html">DMDX tips page</A>.

<P><IMG SRC="../images/new.gif" BORDER=0 HEIGHT=16 WIDTH=46>Sometimes you may see scripts written with old DMastr parameter/switch notation. Here is a small <A HREF="dmastr_dmdx.html">table</A> of common old DMastr notation and their DMDX equivalent and I have made a simple HTML version (no links etc.) of the <A HREF="dmastr_manual.html">DMastr manual</A>

 . <P>

 . </BODY>

</HTML>

Tips and Glossary

Example paradigms

Introduction

So, what is DMDX? It is your friend. It is the Windows 95 Version of the Dmastr experimental software developed by Professor K. I. Forster and J.C. Forster at the University of Arizona. It is a reliable and easy to learn tool for experimental presentation of visual and auditory stimuli. The accurate timing of events and reaction times has led to DMDX being currently used in a wide range of experimental paradigms.

This is not supposed to be a comprehensive documentation for DMDX. It is designed to get you started, give you the basics for running DMDX. It can only take you so far, however. You will need to read the full documentation eventually (unfortunately?). It will be a lot easier for folk who have previously used Dmastr to use these pages to start using DMDX, but I hope that eventually that this will be a comprehensive. tutorial for setting up and running experiments using DMDX.

PLEASE DO NOT CONTACT PROFESSOR FORSTER WITH PROBLEMS. First you should check you have the most up-to-date version of DMDX, your problem may be an old bug that Jonathan has sorted. Then check the help files and the documentation and finally you should use the DMDX list serve.

Please acknowledge the use of the system in publications e.g., "This experiment was run using the DMDX experimental software programmed by Jonathan Forster at the University of Arizona. DMDX is a member of the DMASTR family of experimental software developed at Monash University and at the University of Arizona by K.I.Forster and J.C.Forster."

Please have a look at Matt Davis's DMDX tutorial which goes through how to set up and run DMDX experiments from a different angle.

Getting Started

  • Before you download DMDX from the DMastr website you should check out the information on the website about what hardware is and isn't compatible with DMDX. One of the main limiting factors is that you need large amounts video memory to run DMDX. You will need to install the DirectX graphics software either from the DMastr download page or from the Microsoft DirectX site.

  • If all is OK, then set it up.

If you work here at the CBU you should read the CBU specific information.

Moving On

DMDX experiments are run using control files written in Rich Text Format. Rich text format is an option when using both Word and Wordpad. If you save a text file in DOS Edit with the extension .rtf then it will be read as rich text file by DMDX. There are some problems with editors explained both in the Help files and here .

A control file contains two parts. The first part is a parameter line, which sets out the basic settings for the experiment, for example for a lexical decision experiment it would include items that control what colour the text will be, how long the text will be displayed, how long the subject has to respond what kind of data output file will be created, etc.

An example of a DMDX parameter line would be something like below.

  • <n 16> <s 16> <azk> <cr> <nfb> <fd 125> <t 2000> <id "PIO12"> <id "keyboard"> <dbc 0> <dwc 255000>

Clear? Actually it's not that difficult. Most of the parameters are fairly straight forward, e.g. <nfb> means " no feed back", no feedback on subject responses is sent to the the subject's screen. <dbc 0> means the default background colour of the screen is black. This will be explained further below.

The second part is the main part of the experiment, that is the words to be displayed, the sound files to be played, the coding for what kind of response is expected etc. A simple one, for a single word lexical decision might look like below. The words inside the quotes are what the subject would see, the rest of the coding is explained in the example pages.

-1 * "SKELVE"/; +2 * " GAME "/; +3 * " BACON "/;

Rich Text Format(.rtf), enables usage of multiple / bold / italic / colour fonts. You simply write the text as you wish it to be displayed. Be careful with less standard fonts. DMDX has some problems with non standard fonts like, e.g. "Blood of Dracula" and non Latin fonts, e.g ARABIC. The problem with non standard fonts is that sometimes a few pixels are not erased, if you have this problem you should have a look at the DMDX tips page.

Sometimes you may see scripts written with old DMastr parameter/switch notation. Here is a small table of common old DMastr notation and their DMDX equivalent and I have made a simple HTML version (no links etc.) of the DMastr manual

-- Main.CarolineWhiting - 23 Mar 2007

CbuLanguage: MikeFordsDMDXTutorial (last edited 2013-08-02 15:45:33 by RussellThompson)