Vytautas,

Please send my your translations so I can add them to the test battery.

I think there are ways to get an input value from a batch file, but they
are sort of crude.  You have several options, which are somewhat
complicated by the fact that you are running from a USB drive. I've used
all of these at different times:

1. Write a short PEBL script that first collects the subject code, and
then runs each experiment in turn, each time using the SystemCall()
function.  This is probably what I would try do in your case.

2. Use the launcher's 'experiment chain' functionality.  Create the chain
you want to run and save it to the default config file name. It might be a
bit tricky running this from the usb drive though.

3. Create a script that collects the subject code, creates a .bat file
with that code in it (e.g., using FileOpenOverwrite() and FilePrint()),
and then executes that .bat file.

The main challenge for any of these is running without installing PEBL.I
do this frequently, but I usually have to fiddle with the .bat file a
while because of paths and file locations. I think that under some
conditions, .bat files do not run in the directory they are in, so you
need to be careful about that.

Best of luck!

Shane


> Hello All,
>
> I am trying to create a test battery (a short cognitive functioning
> measure). I have translated 11 tests (some i have created myself) into
> Lithuanian language. I want to run multiple experiments in sequence from
> flash drive (I am using this
> manual: 
> http://peblblog.blogspot.com/2010/08/different-ways-to-run-pebl-experiment.html)
> and to be able to run all experiments only entering participant code in
> the begining of the sequence. I have encountered a problem - I want to be
> able to enter one participant code one time, not every time a new
> experiment begins. Maybe there is a function I can use in .bat file?
>
> Now my .bat file looks like this:
>
> "PEBL\bin\pebl.exe" 1-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 1a-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 2-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 3-ias.pbl --fullscreen
> "PEBL\bin\pebl.exe" 4-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 5-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 6-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 7-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 8-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 9-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 10-as.pbl --fullscreen
> "PEBL\bin\pebl.exe" 11-as.pbl --fullscreen
> copy exp-out*.txt archive\
>
>  
> Vilnius University, Psychology Department
> Phd. Vytautas Jurkuvenas
> el. paÅ¡tas: [email protected]
> tel.:
> +37061771372------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk_______________________________________________
> Pebl-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pebl-list
>



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Pebl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebl-list

Reply via email to