Emotiv EPOC Headset UDP Communication-Matlab and BCI2000
Posted: 19 Apr 2013, 17:06
Hello All
I am trying to send the control signal from BCI2000 to Matlab, while subject is performing 1D cursor task using Emotiv Headset. (Cursor moving up with both hands opening and closing imagination and moving down with rest.)
Offset: -1 0.22 0
Gain: 1.4 3 0
Adaptation: 0 2 0
Buffer Condition: (Feedback)&&(TargetCode==1)
(Feedback)&&(TargetCode==2)
Application: Two target blocks on right corners at the top (TargetCode=1) and the bottom (TargetCode=2)
1) Matlab program is reading from the port number given in BCI2000 connector output tab as - localhost:#####
And the program doesn't stops as the BCI2000 sessions times out. It keeps on getting data for another few seconds and then it stops. Is it supposed to be like that; if yes, then is the timing synchronized for a task like controlling a robot with hand imagination and rest brain states?
2) The data which I am receiving in Matlab also doesn't make any sense to me. Target block is coming up in a random order in BCI2000 during the task, but the data which I am receiving has got all TargetCode = 1, CursorPositonY is not changing and fixed at 204, Signal(0,0) is fixed at 1.4, Signal(1,0) is changing and that's exactly how it should be but, how to find out what range of Signal(1,0) value corresponds to which TargetCode?
Kindly help me get answer to my problems.
Thank You in Advance
I am trying to send the control signal from BCI2000 to Matlab, while subject is performing 1D cursor task using Emotiv Headset. (Cursor moving up with both hands opening and closing imagination and moving down with rest.)
Offset: -1 0.22 0
Gain: 1.4 3 0
Adaptation: 0 2 0
Buffer Condition: (Feedback)&&(TargetCode==1)
(Feedback)&&(TargetCode==2)
Application: Two target blocks on right corners at the top (TargetCode=1) and the bottom (TargetCode=2)
1) Matlab program is reading from the port number given in BCI2000 connector output tab as - localhost:#####
And the program doesn't stops as the BCI2000 sessions times out. It keeps on getting data for another few seconds and then it stops. Is it supposed to be like that; if yes, then is the timing synchronized for a task like controlling a robot with hand imagination and rest brain states?
2) The data which I am receiving in Matlab also doesn't make any sense to me. Target block is coming up in a random order in BCI2000 during the task, but the data which I am receiving has got all TargetCode = 1, CursorPositonY is not changing and fixed at 204, Signal(0,0) is fixed at 1.4, Signal(1,0) is changing and that's exactly how it should be but, how to find out what range of Signal(1,0) value corresponds to which TargetCode?
Kindly help me get answer to my problems.
Thank You in Advance