Contributions:FieldTripBufferSource
Synopsis
Acquires signal data from a FieldTrip buffer. Optionally translates FieldTrip buffer events to BCI2000 states.
Location
http://www.bci2000.org/svn/trunk/src/contrib/SignalSource/FieldTripBufferSource
Versioning
Author
Stefan Klanke (s.klanke@donders.ru.nl), Robert Oostenveld (r.oostenveld@donders.ru.nl)
Version History
First checked in at r2966.
Source Code Revisions
- Initial development: r2966
- Tested under: r2966
- Known to compile under: r2966
Functional Description
This module acquires signal data from a FieldTrip buffer and optionally translates FieldTrip buffer events to BCI2000 states. Currently, the only supported data formats that can be grabbed from the buffer are 16-bit integers, 32-bit integers, and 32-bit floats.
Parameters
HostName
The name of the machine that the FieldTrip buffer resides on (e.g., localhost). Please note that this ADC will *not* spawn its own buffer server.
Port
The TCP port number on which to reach the FieldTrip buffer (default=1972).
SampleBlockSize
How many samples to grab from the buffer in each acquisition cycle. This should match the block size of the agent writing on the other end, if possible.
EventStates
A list of BCI2000 states that FieldTrip events with a matching name should be translated to.
States
Completely user defined (see above).