We want to start with some BCI projects. From a previous project we acquired a brainamp MR plus system.
I've tried the RDAgetparams tool to retrieve the parameters while Recorder is running. But it crashed. I merged the code from RDAgetparams with the RDAClient32 from Brainproducts and got a working version. This resulted in the following parameter file
---start parameter file
RDA string HostName= 127.0.0.1 getparams 127.0.0.1 %
RDA int SourceCh= 33 getparams 127.0.0.1 %
RDA floatlist SourceChOffset= 33 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 // getparams 127.0.0.1
RDA floatlist SourceChGain= 33 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 // getparams 127.0.0.1
RDA float SamplingRate= 250 // getparams 127.0.0.1
RDA intlist TransmitChList= 32 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 // getparams 127.0.0.1
RDA matrix SpatialFilter= 32 32 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 // getparams 127.0.0.1
RDA int SourceMax= 300muV // getparams 127.0.0.1
RDA int SourceMin= -300muV // getparams 127.0.0.1
-----end parameter file
Next, I use these paramters to setup de BCIlauncher. However, the operator reports the following.
-----start operator system log
8/13/2009 11:07:43 AM - BCI2000 started
8/13/2009 11:07:44 AM - Executing script after all modules connected ...
8/13/2009 11:07:44 AM - unnamed script: Successfully loaded parameter file C:\BCI\Brainvision2.prm
8/13/2009 11:07:44 AM - Operator set configuration
8/13/2009 11:07:44 AM - unnamed script: Set configuration
8/13/2009 11:07:44 AM - Signal Processing confirmed new parameters ...
8/13/2009 11:07:44 AM - RDAClientADC::Preflight: The SourceCh parameter must match the number of channels in the recording software plus one (1) .
8/13/2009 11:07:44 AM - RDAClientADC::Preflight: The number of values in the SourceChOffset parameter must match the number of channels in the recording software plus one (1) .
8/13/2009 11:07:44 AM - RDAClientADC::Preflight: The number of values in the SourceChGain parameter must match the number of channels in the recording software plus one (1) .
8/13/2009 11:07:44 AM - RDAClientADC::Preflight: The recording software reports an infinite sampling rate -- make sure it shows a running signal in its window.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 2 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 3 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 4 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 5 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 6 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 7 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 8 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 9 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 10 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 11 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 12 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 13 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 14 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 15 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 16 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 17 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 18 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 19 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 20 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 21 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 22 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 23 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 24 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 25 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 26 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 27 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 28 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 29 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 30 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 31 is not a valid channel specification.
8/13/2009 11:07:44 AM - TransmissionFilter::Preflight: TransmitChList entry 32 is not a valid channel specification.
---end operator system log.
I did investigate the code in borland C++ of the RDAQueue and compared it with the RDAClient32, as both codes show a similar workflow.
Apparently, at RDAQueue.cpp at the function member
void RDAQueue::GetServerMessage() the following statement
Code: Select all
pData = receiveBuffer + sizeof( RDA_MessageHeader );Is this an operating system issue? Did anyone else have this issue?
