A source component that interfaces to BrainAmp EEG systems, using the TCP/IP-based BrainAmp RDA interface.
firstname.lastname@example.org, email@example.com, Jeremy Hill
Feb 12, 2003: Initial version.
Aug 29, 2007: Support for the RDA float protocol (Thomas Schreiner).
Mar 28, 2008 (Jeremy Hill) (1) Fixed an issue whereby markers were ignored. Contrary to what the RDA documentation implies, marker->nPoints can be 0 even when a marker occurs. Therefore treat a marker that appears to be valid for 0 points as valid for 1 point. (two places, both the RDAData case and the RDAData32 case, in ReceiveData() in RDAQueue.cpp) (2) When checking the SourceChGain parameters against the RDA gains, before issuing an error at the end to the effect that somewhere, one or more of the many gain values is wrong, additionally issue a warning about each and every SourceChGain position that differs. No longer necessary to announce the first gain value in the final error message. (Preflight() in RDAClientADC.cpp)
Source Code Revisions
- Initial development: 156
- Tested under: 1537
- Known to compile under: 2351
- Broken since: --
The number of digitized and stored channels. This must match the setting in the VisionRecorder program, increased by 1 to account for an additional channel to hold marker information.
The number of samples transmitted at a time. The VisionRecorder appears to send one block each 40ms, so SampleBlockSize should match SamplingRate x 40ms.
The sampling rate as configured in the VisionRecorder program.
IP address or name of the host to connect to, typically localhost.
RDAgetparams is a command line utility that allows to obtain appropriate source module parameters from a host running BrainAmp's VisionRecorder.
On the target host, start the VisionRecorder program, check that RDA is enabled under Configuration->Preferences, and click the monitor (eye) button before running RDAgetparams with the host's IP address as the only parameter (when omitted, this defaults to localhost).
To direct the output into a file that can later be loaded into the operator module's configuration dialog, append a redirection to the command:
RDAgetparams localhost > myparamfile.prm