Page 1 of 1

*.bat files and neuroscanclient

Posted: 10 Aug 2012, 17:26
by izlvr
Hello!
Recently i've downloded binaries for Neuroscan and tried to run bci2000 on windows 7 64 bit (as wiki says "it is possible to run these 32-bit executables on 64-bit Windows systems").
Results are rather ambiguous (for me).
It seems when bcilauncher is used, everything works as planned (i've tryed neuroscan signal source module together with dummysignal processing [or P3SignalProcessing] and stimulus presentation modules - no errors were reported, stimuli were presented, data files were written).
Situation changes when i try to run modified (in the original StimulusPresentation_SignalGenerator.bat NeuroscanClient was used instead of Signalgenerator and new parameter file [obtained by means of the neurogetparams Command Line Tool] instead of "../parms/examples/StimulusPresentation_SignalGenerator.prm") .bat-file.
It looks like the source module can't connect to the neuroscan acquire system (acquire 4.5 to be exact)
When operator module windows appears, its impossible to start application. If i press "set config" nothing happens for some time, then it becomes impossible to even press "set config" button :D (what i get is displayed on the attached file), also no eror messages appears.
Log file is as follows:
2012-08-10T17:40:54 - BCI2000 Started
2012-08-10T17:40:54 - Started "NeuroscanClient"
2012-08-10T17:40:54 - Waiting for configuration ...
2012-08-10T17:40:54 - Started "P3SignalProcessing"
2012-08-10T17:40:54 - Waiting for configuration ...
2012-08-10T17:40:54 - Started "StimulusPresentation"
2012-08-10T17:40:54 - Waiting for configuration ...
2012-08-10T17:40:55 - Loaded parameter file "C:\bci\BCI2000\prog\../parms/500hz.prm"
2012-08-10T17:44:10 - Operator set configuration

Can anybody please help me ?

Thanks in advance,
Ivan

Re: *.bat files and neuroscanclient

Posted: 21 Aug 2012, 11:26
by mellinger
Hi,

the
../parms/examples/StimulusPresentation_SignalGenerator.prm
parameter file contains the full parameter information for a stimulus experiment. You cannot replace it with a parameter file generated by neurogetparams.

Rather, you need to load both parameter files, first the StimulusPresentation_SignalGenerator.prm, and then the one created by neurogetparams.

HTH,
Juergen

Re: *.bat files and neuroscanclient

Posted: 31 Aug 2012, 14:43
by izlvr
Hi, thank you for the advice, i've tried this but unfortunately with no luck.
I've also tried the same procedure on aquire 4.3 and 32bit windows xp and this time i've got an error message (this is the only difference comparing to the win7 64bit):
"Unhandled exception of type std::bad_alloc: bad allocation
Terminating SignalSource module."
Any more suggestions please?

Ivan

Re: *.bat files and neuroscanclient

Posted: 17 Sep 2012, 10:18
by mellinger
Hi, what happens when you use BCILauncher to start the modules, and manually load your command-line create neuroscan parameter file before pressing "Set Config"?

-Juergen

Re: *.bat files and neuroscanclient

Posted: 04 Oct 2012, 15:21
by izlvr
Hi,
when i do that everything seems to work fine

Ivan

Re: *.bat files and neuroscanclient

Posted: 24 Oct 2012, 14:14
by mellinger
Hi,

the NeuroscanClient module has now been rewritten in order to achieve cross-platform compatibility. So you might get the latest source code from SVN, recompile, and try again.

Regards,
Juergen