RDA definitions (rdadefs)

This module contains BrainVision Remote Data Access (RDA) API definitions, including message structures, type constants and GUID. Refer to the Chapter 12 of the BrainAmp user manual for detailed API description

The module is based on the API implementation (in C) found in the FieldTrip package http://fieldtrip.fcdonders.nl (rdadefs.h)

class rdadefs.rda_marker_t[source]

Bases: _ctypes.Structure

RDA marker structure

Methods

full(stringLength) Gets a complete structure including variable fields
classmethod full(stringLength)[source]

Gets a complete structure including variable fields

Returns :

class : rda_marker_full_t

New ctpyes structure definition

nChannel

Structure/Union member

nPoints

Structure/Union member

nPosition

Structure/Union member

nSize

Structure/Union member

class rdadefs.rda_msg_hdr_t[source]

Bases: _ctypes.Structure

RDA message header

guid

Structure/Union member

nSize

Structure/Union member

nType

Structure/Union member

class rdadefs.rda_msg_data_t[source]

Bases: _ctypes.Structure

RDA data message

Methods

full(nChannels, nPoints, markersLength) Gets a complete structure including variable fields
read_markers()
classmethod full(nChannels, nPoints, markersLength)[source]

Gets a complete structure including variable fields

Parameters :

nChannels : int

number of channels (from start message)

nPoints : int

number of samples (from fixed part)

markersLength : int

Length of the ‘Markers’ in bytes

Returns :

class : rda_msg_data_full_t

New ctpyes structure definition

hdr

Structure/Union member

nBlock

Structure/Union member

nMarkers

Structure/Union member

nPoints

Structure/Union member

read_markers()[source]
class rdadefs.rda_msg_start_t[source]

Bases: _ctypes.Structure

RDA start message (sent from the server after the client has connected)

Methods

full(nChannels, stringLength) Gets a complete structure including variable fields
dSamplingInterval

Structure/Union member

classmethod full(nChannels, stringLength)[source]

Gets a complete structure including variable fields

Returns :

class : rda_msg_start_full_t

New ctpyes structure definition

hdr

Structure/Union member

nChannels

Structure/Union member

class rdadefs.rda_msg_stop_t[source]

Bases: _ctypes.Structure

RDA stop message

hdr

Structure/Union member

Previous topic

RDA tools (rdatools)

This Page