Page 1 of 1

Re: serial port imput with emotiv

Posted: Thu Mar 20, 2014 8:31 am
by jtlindgren
Hello wprinz,

I assume that the signals coming from the serial port are discrete event markers? If that is the case, and you wish to align these markers with the EEG data, then you could write a small C application that reads from the serial port and sends out these markers to the external stimulation plugin in the acquisition server (over tcp/ip). These markers would then be sent out along with the signal and be visible in designer. Alternatives include writing a box to designer that reads the serial port, however I suppose the time alignment of this wouldn't be as good.

However, if the serial port signals are continuous data, things get a bit more complicated because a single acquisition server currently reads signals only from one hardware device/driver at a time. In that case you could either write the designer box or acquisition server driver for the serial port, but then you need to run two servers in parallel. This can be done, but again, the synchronization could be a little off.

Happy hacking,
Jussi