Back to the main page.

Bug 1364 - rda2ft converts a 'S 1' simulus into an int32 -1 value

Reported 2012-03-09 15:43:00 +0100
Modified 2012-06-20 15:03:26 +0200
Product: FieldTrip
Component: realtime
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 blocker
Assigned to: Boris Reuderink
Depends on:
See also:

Robert Oostenveld - 2012-03-09 15:43:56 +0100

this was observed at the brain awareness week "generale repetitie"

Robert Oostenveld - 2012-03-09 15:53:45 +0100

mbp> make gcc -o rda2ft rda2ft.o ../../buffer/src/socketserver.o -lpthread ../../buffer/src/libbuffer.a Undefined symbols: "_strnlen", referenced from: _handleStartPacket in rda2ft.o _handleDataPacket in rda2ft.o ld: symbol(s) not found collect2: ld returned 1 exit status the strnlen does not exist on Mac OS X, also "man strnlen" returns nothing. On linux the man page states CONFORMING TO This function is a GNU extension. so it is indeed not standard C. Solution -> use the local definition not only if WIN32 but in general ifndef PLATFORM_LINUX

Robert Oostenveld - 2012-03-09 16:48:46 +0100

bugfix - fixed problem that caused trigger values not to be represented correctly in rda2ft events, also added README and compiled version for maci64. See http://bugzilla.fcdonder M brainamp/rda2ft.c M brainamp/rda2ft.maci64 A brainamp/README.txt still to be done: recompile on windows (preferably 32 bit, so that the executable runs on 32 and 64 bit)

Robert Oostenveld - 2012-03-09 16:49:26 +0100

(In reply to comment #2) mbp> svn commit Adding brainamp/README.txt Sending brainamp/rda2ft.c Sending brainamp/rda2ft.maci64 Transmitting file data ... Committed revision 5425. I suggest also that we inform the known users about the bugfix.

Boris Reuderink - 2012-03-21 14:56:43 +0100

I have recompiled rda2ft.exe with mingw: Sending brainamp/rda2ft.exe Transmitting file data . Committed revision 5503. It still needs to be tested on a computer other than mine, and then I'll notify users that have we involved in rda2ft bugs in the past.

Boris Reuderink - 2012-03-21 15:19:52 +0100

I searched the mail archive for references to RDA, rda2ft and BrainProducts. I have sent the four user and email with an explanation and a link to the updated executable.

Boris Reuderink - 2012-03-21 15:21:00 +0100

I haven't tested the program on another computer, but the dependency walker does not indicate the use of any unusual DLL. So I assume that the program works as intended on other computer. -> RESOLVED:FIXED.

Boris Reuderink - 2012-06-20 15:03:26 +0200

Changed my resolved bugs to closed.