Page 1 of 1

Changing stimulus frequencies within one run

Posted: 07 Nov 2011, 16:43
by UCTEEGLab
Hi

I was just wondering if there is any way to change the frequencies that different stimuli occur for different runs with in the same experiment.
For example, say I want the stimuli to be copied in the order 1 2 3. If I set the frequencies to 8 8 8, each stimulus will occur 8 times in all 3 runs. Is there a way to change it so that in the first run 1 only appears say 2 times but for the other runs it appears 8 times?

Thanks
Leandra

Re: Changing stimulus frequencies within one run

Posted: 08 Nov 2011, 12:07
by mellinger
Hi,

this is not possible with the current StimulusPresentation module. However, it is possible to automate BCI2000 from the command line, such that it automatically loads a parameter file at startup, and automatically exits on suspend.

Using Operator scripting from the command line, it is possible to write a batch file that automatically starts BCI2000 in different configurations/with different parameter files, in sequence.

For documentation of Operator scripting, and command line parameters, see:
http://www.bci2000.org/wiki/index.php/U ... _Scripting
http://www.bci2000.org/wiki/index.php/U ... ne_Options

For an example how to use this, see the testing batch file at BCI2000/build/buildutils/tests/run_tests.bat.

Regards,
Juergen

Re: Changing stimulus frequencies within one run

Posted: 09 Nov 2011, 04:30
by UCTEEGLab
Thanks for the reply - that sounds just like what I need.

Regards
Leandra