Search found 1113 matches

by mellinger
01 Jul 2020, 07:52
Forum: Configuration
Topic: Implementing event markers with BCI 2000
Replies: 1
Views: 10

Re: Implementing event markers with BCI 2000

Hi, you need to start the source module with the command line argument "--LogKeyboard=1". Then, the events "KeyDown" and "KeyUp" will record keypresses resp. releases by assuming the Windows virtual key code of the key that was pressed or released. Windows virtual key codes are basically ASCII codes...
by mellinger
26 Jun 2020, 07:34
Forum: Data Analysis
Topic: R2 plots following calibration
Replies: 14
Views: 271

Re: R2 plots following calibration

OK, fine.
-Jürgen
by mellinger
24 Jun 2020, 11:35
Forum: Data Analysis
Topic: R2 plots following calibration
Replies: 14
Views: 271

Re: R2 plots following calibration

Do you have any guidance on how we would make a small photodiode circle on the display (maybe in the top right corner) that would flash with each row and column presentation? This requires a small modification to the C++ source code of the P3Speller module. Basically, one needs to create another st...
by mellinger
22 Jun 2020, 10:04
Forum: Data Analysis
Topic: R2 plots following calibration
Replies: 14
Views: 271

Re: R2 plots following calibration

Hi, We found that there was a 56 and 88 ms delay between the marker and the photo sensor. BCI2000 provides multiple "markers" to document different stages of stimulus presentation. When analyzing data, you can use StimulusCode != 0 value of StimulusTime timestamp value of PresentationTime timestamp ...
by mellinger
21 Jun 2020, 13:59
Forum: Software Development
Topic: Event Markers and BCI2000
Replies: 12
Views: 224

Re: Event Markers and BCI2000

I think it might be a good idea to read any error messages arriving through the socket, e.g. using fgetl(). Also, are you sure your Matlab fprintf() code is called at all? If an event occurs at t=5s, the current set-up places a marker at 4.98 seconds Another event occurs at t=10s, and the current se...
by mellinger
19 Jun 2020, 05:45
Forum: Software Development
Topic: Event Markers and BCI2000
Replies: 12
Views: 224

Re: Event Markers and BCI2000

Hi, it seems that Matlab doesn not interpret the control characters properly. Following https://www.mathworks.com/help/instrument/tcpip-communication-with-a-remote-host.html , you might try t.Terminator = {'LF', 'CR/LF'}; % example code uses double quotes but I think that is an error fprintf(t, '%s\...
by mellinger
18 Jun 2020, 11:14
Forum: Software Development
Topic: Event Markers and BCI2000
Replies: 12
Views: 224

Re: Event Markers and BCI2000

Even if we use LSL as a source module-it doesn't have an EventLogger How do you know it doesn't have the EventLink component? In the Operator, check for presence of the System->EventLink parameter. If it is present, you have the EventLink component in the source module. Make sure it is enabled. Als...
by mellinger
18 Jun 2020, 09:44
Forum: Software Development
Topic: Event Markers and BCI2000
Replies: 12
Views: 224

Re: Event Markers and BCI2000

are things not working yet because we don't have an Eventlogger in the source module?
You need the EventLogger extension in the source module. If you don't have it, it won't work.

-Jürgen
by mellinger
17 Jun 2020, 08:30
Forum: Software Development
Topic: Event Markers and BCI2000
Replies: 12
Views: 224

Re: Event Markers and BCI2000

Hi,

CRLF means send a carriage return followed with a line feed control character. In a Matlab string, this is written as

Code: Select all

'\r\n'


HTH,
Juergen
by mellinger
15 Jun 2020, 11:03
Forum: Data Analysis
Topic: R2 plots following calibration
Replies: 14
Views: 271

Re: R2 plots following calibration

HI, your r^2 topographies look really weird, but then r^2 values are very small as well, so the topographies could be just random artifacts, resulting from a slight correlation of muscular artifacts at forehead or neck with the target stimulus. It might be a good idea to try the standard P300 spelle...
by mellinger
15 Jun 2020, 10:48
Forum: Software Development
Topic: Event Markers and BCI2000
Replies: 12
Views: 224

Re: Event Markers and BCI2000

Hi, for writing triggers to BCI2000, do the following: define a state variable of type "event" in your batch file before modules are started: Add event Foo 1 0 open a TCP socket connection to localhost on port 3999 when the operator module has been started send the following text through the socket ...
by mellinger
10 Jun 2020, 07:20
Forum: Data Analysis
Topic: R2 plots following calibration
Replies: 14
Views: 271

Re: R2 plots following calibration

Hi, I think the fp1 activity is more likely eye related artifact associated with target presentation, unless you have other thoughts? I don’t think that you will typically see eye or blink artifacts on one eye but not the other, unless the participant suffers from an asymmetric condition. For a P300...
by mellinger
09 Jun 2020, 08:33
Forum: Data Analysis
Topic: R2 plots following calibration
Replies: 14
Views: 271

Re: R2 plots following calibration

Hi, I was a little confused on why you are only noting activity on Fz/F3/F7? I read this from your first r^2 plot. It shows a response in channels 2, 3, and 4. From the photograph of your electrode montage, I read that these channels correspond to Fz, F3, F7. I did not see an option on the BCI2k off...
by mellinger
08 Jun 2020, 11:07
Forum: Data Analysis
Topic: R2 plots following calibration
Replies: 14
Views: 271

Re: R2 plots following calibration

HI, it's difficult to tell what's going on. Actually, the individual curve plots look quite reasonable, but if your channel topography is correct, they can't be. A P300 response would not appear at Fz/F3/F7 and nowhere else. Also, you shouldn't use the additional channels (likely trigger channels) i...
by mellinger
08 Jun 2020, 10:55
Forum: Configuration
Topic: Semi transparent stimuli and checkboard flash patterns
Replies: 2
Views: 76

Re: Semi transparent stimuli and checkboard flash patterns

Hi, 1) I was wanting to implement a semi transparent face flash paradigm that allows the grid letter/item to be seen behind the face when flashing. However, when I upload a semi-transparent image to BCI2000 it looks more like it has holes in it versus an overall semi transparency. Could anyone provi...