Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 9 of 9

Thread: Separate questionnaire data-files

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Hi Blair,
    yet, I have not tried to read out the responses.xls from another programm (because this task seems to be a tough nut to crack), but I found another way to get ML responses as stimuli in DRT. I'm(not yet) firm with C++, I used php, webbrower and server.


    Ok, here we go (ML/DRT V.2006, I had no time to try the 2008 versions):

    I made html-pages (strictly speaking: *.php, it's an html with php-scripts, but it seems that the server needs the php-file ending to parse the php code well) with html-formulas and use php-scripts to write the responses to a separate textfile. Afterwards, I use a short php-page to do the calculations and write the responses to another textfile which is located in the stim-folder of the experiment so that DRT can read it. In ML, I address the pages within the browser "outside" of Medialab, so data is tracked by php and not by ML. Unfortunately, if I use the HMTL-item type ML wants a file and not an url (I guess there is also a thread here about this topic), and php is only parsed if I call the php-files via a web-browser (because, of course, I need a server to parse the php commands, so my php and html-files are located in the htdocs of the server), e.g.via a short pipefile within ML as a command-parameter.
    This works very well because now I can "dictate" how the data is recorded and this makes it much easier to read it out afterwards (especially if DRT wants to read it out).
    And, to put it a step further, this procedure can not only generate stim-lists for DRT, but also complete DRT-csv-input-files, and I guess this is the "big-party-feature" of this approach (e.g. if you want to do a lexical decision task and want to match control words with unknown stimulus words according to the word length).
    I managed it to get the stuff run in three days using the online-tutorials, so, this may also be no problem for anyone other.

    Best, Tom

    P.S. I forgot to mention that, according to the parameter which you use to write the data-file, the information is may be overwritten. normally I use a short batchfile to copy the datafiles to another folder, or I simply tell my student research assistants who run the experiment to save the files by hand and rename it with the participant-number.
    Last edited by jason_reed; 09-23-2013 at 09:31 AM.

Similar Threads

  1. Separate variable for "specify" responses?
    By jarvis24 in forum MediaLab Older Versions: Suggestions
    Replies: 0
    Last Post: 12-04-2006, 02:55 PM
  2. Changes to experiment affects data files
    By jarvis24 in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 11-24-2006, 01:55 PM
  3. Printing and editing questionnaire files
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 10-10-2006, 03:37 AM
  4. Picture and Questionnaire
    By jazminbrown in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 06-17-2006, 09:33 AM
  5. Having files located in the data folder
    By Nsc217 in forum DirectRT Older Versions: How Do I...
    Replies: 2
    Last Post: 06-13-2006, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •