Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 2 of 2

Thread: Medialab and PEBL

  1. #1
    Join Date
    Feb 2011
    Posts
    0

    Medialab and PEBL

    Dear all,

    I would like to run PEBL (http://pebl.sourceforge.net/) from medialab. I have seen that there was a post about this sometime earlier (http://support.empirisoft.com/showth...highlight=pebl), but this post seemed to be "solved" before the true solution was found . So here is the question: PEBL allows running script files using simple batch files. The command line in the batch file I am using looks like this:
    "C:\Program Files\PEBL\bin\pebl.exe" bat.pbl --display 1024x768 -v 100 --language en --fullscreen

    --> the quoted part is the program location.
    --> bat.pbl is the experiment script I'd like to run within medialab
    --> --display 1024x768 specifies the display size
    --> -v 100 specifies participant number. Ideally, I would like to set this automatically to the current participant number in medialab
    --> --language en specifies the current language
    --> --fullscreen specifies that PEBL is run fullscreen

    So far, I have created an experiment that starts the program (the quoted part above). However, I wasn't able to figure out how to start the specific experiment script (bat.pbl), and I have no idea on how to specify the addl parameters. Any ideas.

    Finally: We are using ML 2004, should that be relevant information.
    Many thanks, best, Rainer

  2. #2
    Join Date
    Oct 2007
    Posts
    14
    Rainer,

    I ran the study from that thread a few years ago, so I don't remember all of the details. I was just now surfing the forums regarding a totally different question.

    Regarding your situation, I was unable to get MediaLab to run PEBL itself. I think I got as far as you did, where MediaLab would bring up PEBL's launch window. I (or another experimenter) would then have to manually select the appropriate PEBL script and enter a subject number and click "Run" or "Run Script" or whatever PEBL has you click to begin it's task.
    I didn't mess with additional parameters and couldn't get PEBL to grab participant numbers from anywhere or have MediaLab send stuff to it. I boil this down to my lack of understanding the language and willingness to take the time to get it to work that way.

    A few things that I remember running into that may help:
    - Try to have all files consolidated on the local machine. One of the problems I was running into was working from a shared drive.
    - For whatever reason, the PEBL launcher had a tendency to crash when it was initially started, other times crashing when I began running the script. Running a study once and running into this issue and ending the experiment in MediaLab and then starting over again sometimes solved this problem.
    - Newer versions of MediaLab may be easier to work with as well.

    That's all the feedback I can think to give you. Sorry it's come so long after you first posed the question. I hope it helps anyways.

Posting Permissions

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