Some useful tools to work with BrainVision RDA (Remote Data Access) API
Checks whether the message is completely received. If OK, return nothing, else, raises an exception
| Parameters : | n : int
msg : ctypes structure
|
|---|
Reads an RDA data message from socket given the header
| Parameters : | s : socket
hdr : rda_msg_hdr_t
nChannels : int
|
|---|---|
| Returns : | msg : rda_msg_data_full_t
|
Reads an RDA start message from socket given the header
| Parameters : | s : socket
hdr : rda_msg_hdr_t
|
|---|---|
| Returns : | mgs : rda_msg_start_full_t
|
Converts an RDA start message (rda_msg_start_full_t) to string
| Parameters : | msg : rda_msg_start_full_t:
|
|---|---|
| Returns : | string : |