|
About Community and Support Download Documentation Experiments Test Battery Screenshots Blog ![]() WIKI Tech Reports Sourceforge Project Site |
Frequently Asked Questions (FAQ)Q: Where is the data?
Q: How do I launch a script?
Q: When I try to launch a PEBL script, nothing seems to
happen. What can I do?
Q: How do I launch a script directly, bypassing the launcher
"c:\Program Files (x86)\PEBL\bin\pebl.exe" experiment.pblMake sure you add the quotes, and if you use non-US location for Program Files, change it there. You can add command line arguments to specify different options at runtime: below). "c:\Program Files (x86)\PEBL\bin\pebl.exe" experiment.pbl -v sub1 --fullscreen --display 800x600See more on command line options next. Note that when launching from the command line, you no longer have tha ability to enter a subject code. This can be done within the script too (see another question below). Q: What command line arguments are available?
example: pebl experiment.pbl -v sub1 --fullscreen --display 800x600 --driver dga COMMAND-LINE OPTIONS: -v VALUE1 -v VALUE2 Invokes script and passes VALUE1 and VALUE2 (and any text immediately following -v) to a list in the argument of the Start() function. -s IDENTIFIER Initiates the global variable gSubNum to IDENTIFIER. If not set here, gSubNum is initiated to 0. --driver Q:I'm not using the launcher--How can I specify a subject number within the script?
gWin <- MakeWindow() gSubNum <- GetSubNum(gWin) Q: How do I use non-ascii characters? When I try, I get little
boxes in the text! When I try, the program crashes!
Q: I want to translate the gambling task/card sort task into
language X. How do I do it?
Q: How do I cite PEBL?
Documentation
Introductory HowtoThis howto assumes you are running PEBL on Windows using the launcher. To begin, you must install PEBL with the PEBL installer. This provides a number of easy ways to launch the program and experiment scripts. It will create a folder called "pebl-exp" in your "My Documents" folder. Inside that folder, there is a shortcut that will start the launcher, allowing you to run any script in that folder. To run an experiment not in that folder, you can navigate to the script within the launcher. Alternately, you can just copy the new script into the My Documents\pebl-exp folder.All scripts will produce two output files, one is called "standard output" and one called "standard error". In PEBL launcher, the standard error stream is displayed in the "Errors and Messages" dialog after you script is complete. This includes parsing/compilation messages, and any error messages if the script finished early. If the script contains any "Print" commands for debugging or instrumentation, these will appear in the "User Output" message box in the launcher. If no output is provided by the script, the message "failed to load [C:\Program Files\PEBL\bin\stdout.txt]." will be displayed. This is not an error, but simply means that no output was produced by the script. The easiest way to run PEBL is to navigate to the experiment directory and start the launcher from a shortcut in that directory. The initial parameters of the launcher can (and must) be controlled with a file called pebl-init.txt which must be present in the directory the launcher shortcut starts the launcher in. This can allow you to have different initial parameters fed into different experiments. To make a new launcher shortcut, first copy the shortcut in the MY Documents\pebl-exp directory, then paste it into the place you want the new launcher to start from. Next, copy and paste the pebl-init.txt file to the new directory. Edit the pebl-init.txt file if you want--you can control the starting directory, the initial command-line parameters, the initial highlighted experiment, etc (check the manual for more details). When your experiment is complete, the data file (if any are produced) should be in the same directory as the script you ran.
http://pebl.sourceforge.net/documentation.html
|