questions about BCI2000 and Neuroscan connection

Known Issues and Problems with BCI2000
Locked
jc_zhang
Posts: 1
Joined: 11 Sep 2014, 20:45

questions about BCI2000 and Neuroscan connection

Post by jc_zhang » 20 Oct 2014, 00:37

Dear all,
I'm Yu,a new student in BCI2000.When I tried to connect BCI2000 and Neuroscan,I got some problems:
1)I modified the file batch/CursorTask_SignalGenerator.bat,replace the reference to "SignalGenerator.exe" with "NeuroscanClient.exe".however,when run it ,it is waiting for configuration for ever;
2)I click on the S symbol ,input port:3999,repeat 1),there come a error:"new client is trying to connect while 127.0.0.1:1655 is a ACQUIRE client"?
I wonder how to solve it to connect BCI2000 and Neuroscan?Should I code a neuroscan parameter file?Thank for your help!

pbrunner
Posts: 344
Joined: 17 Sep 2010, 12:43

Re: questions about BCI2000 and Neuroscan connection

Post by pbrunner » 27 Jan 2015, 20:57

Yu,

you need to start the BCI2000 source module "NeuroscanClient.exe" and then the Neuroscan Application "Acquire.exe". Within BCI2000 you need to load a correct parameter file that reflects your Neuroscan configuration. Please see the example parameters below. Then as you already said, click at the "S" button to start the stream. After hitting the "set config" button in BCI200, you should now see the EEG data in the BCI2000 Operator's source visualization window.

Alternatively to this legacy method, you can also use the NeuroscanAccessSDK which directly acquires the stream. However we have had not opportunity to fully this this recently.

Let me know if this answers your question.

Regards, Peter

Batch File:

Code: Select all

taskkill /F /IM Acquire.exe /T
taskkill /F /IM Scan4.exe /T
taskkill /F /IM NeuroscanClient.exe /T
taskkill /F /IM operator.exe /T

cd ..\prog
start operator.exe 
start NeuroscanClient.exe 127.0.0.1
start DummySignalProcessing.exe 127.0.0.1
start DummyApplication.exe 127.0.0.1 
cd ..

wait.exe 3
cd "C:\Program Files\Neuroscan\Scan4.5"
start Acquire.exe
Parameter File:

Code: Select all

Source:Signal%20Properties:DataIOFilter int SourceCh= 64 16 1 % // number of digitized and stored channels
Source:Signal%20Properties:DataIOFilter int SampleBlockSize= 50 32 1 % // number of samples transmitted at a time
Source:Signal%20Properties:DataIOFilter int SamplingRate= 1250 256Hz 1 % // sample rate
Source:Signal%20Properties:DataIOFilter list ChannelNames= 64 ch01 ch02 ch03 ch04 ch05 ch06 ch07 ch08 ch09 ch10 ch11 ch12 ch13 ch14 ch15 ch16 ch17 ch18 ch19 ch20 ch21 ch22 ch23 ch24 ch25 ch26 ch27 ch28 ch29 ch30 ch31 ch32 ch33 ch34 ch35 ch36 ch37 ch38 ch39 ch40 ch41 ch42 ch43 ch44 ch45 ch46 ch47 ch48 ch49 ch50 ch51 ch52 ch53 ch54 ch55 ch56 ch57 ch58 ch59 ch60 ch61 ch62 ch63 ch64 // list of channel names
Source:Signal%20Properties:DataIOFilter floatlist SourceChOffset= 64 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 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 % % // Offset for channels in A/D units
Source:Signal%20Properties:DataIOFilter floatlist SourceChGain= 64 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.0298023 0.003 % % // gain for each channel (A/D units -> muV)
Storage:Documentation:DataIOFilter string ID_System= % // BCI2000 System Code
Storage:Documentation:DataIOFilter string ID_Amp= % // BCI2000 Amp Code
Storage:Documentation:DataIOFilter string ID_Montage= % // BCI2000 Cap Montage Code
Visualize:Timing:DataIOFilter int VisualizeTiming= 1 1 0 1 // visualize system timing (0=no, 1=yes) (boolean)
Visualize:Source%20Signal:DataIOFilter int VisualizeSource= 1 1 0 1 // visualize raw brain signal (0=no, 1=yes) (boolean)
Visualize:Source%20Signal:DataIOFilter int VisualizeSourceDecimation= 5 1 1 % // decimation factor for raw brain signal
Visualize:Source%20Signal:DataIOFilter int VisualizeSourceTime= 2 2 0 % // how much time in Source visualization
Visualize:Source%20Signal:DataIOFilter int SourceMin= 0 -100muV % % // raw signal vis Min Value
Visualize:Source%20Signal:DataIOFilter int SourceMax= 250 100muV % % // raw signal vis Max Value
Source:NeuroscanADC string ServerAddress= localhost:4000 // address and port of the Neuroscan Acquire server
Source:Alignment:AlignmentFilter int AlignChannels= 0 0 0 1 // align channels in time (0=no, 1=yes)
Source:Alignment:AlignmentFilter floatlist SourceChTimeOffset= 0 0 % % // time offsets for all source channels (may be empty)
Source:Online%20Processing:TransmissionFilter list TransmitChList= 64 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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 // list of transmitted channels
System:Core%20Connections string SignalSourcePort= 1061 4200 1024 65535 // the SignalSource module's listening port
System:Core%20Connections string SignalSourceIP= 10.25.147.234 127.0.0.1 % % // the SignalSource module's listening IP
System:Configuration matrix SignalSourceVersion= { Framework Revision Build } 1 2.x % Apr%2018%202009 // SignalSource version information
System:Core%20Connections string SignalProcessingPort= 1062 4200 1024 65535 // the SignalProcessing module's listening port
System:Core%20Connections string SignalProcessingIP= 10.25.147.234 127.0.0.1 % % // the SignalProcessing module's listening IP
Connector:ConnectorInput list ConnectorInputFilter= 0 // list of state names or signal elements to allow, "*" for any, signal elements as in "Signal(1,0)"
Connector:ConnectorInput string ConnectorInputAddress= % localhost:20320 % % // IP address/port to read from, e.g. localhost:20320

Locked

Who is online

Users browsing this forum: Google [Bot] and 28 guests