Page 1 of 1
RDAClient Marker channel not recording marker events.
Posted: 01 Nov 2012, 02:06
by boulay
Recorder shows the markers just fine as little "S 1"'s at the bottom of its preview, but BCI2000's 34th channel (32 EEG + 1 EMG + Marker) is always 0. When a marker occurs (for the first time only), I get this warning:
Code: Select all
Warning: DataIOFilter::Resting: RDAClientADC::Process: Possibly lost 1 data block(s).
Sometimes it's 2 blocks or 4 blocks.
The result is the same whether using Recorder 1.1 or 1.2, 32-bit (Win XP) or 64-bit (Win 7).
Re: RDAClient Marker channel not recording marker events.
Posted: 01 Nov 2012, 02:23
by boulay
Update:
Though the Source Signal display shows nothing, the data files DO show the marker events except for the first one, which generates a lost data warning.
This is true whether RDA_FLOAT is 0 or 1 (in RDAQueue.h).
Re: RDAClient Marker channel not recording marker events.
Posted: 12 Nov 2012, 11:58
by mellinger
The source signal display uses a scale that is appropriate for EEG, but not necessarily for the marker channel.
Thanks for reporting the issue with the first marker, I will look into it.
-Juergen
Re: RDAClient Marker channel not recording marker events.
Posted: 23 Nov 2012, 13:09
by mellinger
Hi,
I identified a bug in the RDAClient that was responsible for missing the first marker sent.
Also, the RDAClient source module used a Windows-specific header file in conjunction with typcasting a pointer to a data block, so it was not at all portable.
Thus, I decided to rewrite the RDAClient module it in a cross-platform compatible way.
Except for being cross-platform, the new version is also based on the BufferedADC framework, and thus may behave better if SignalProcessing or Application modules intermediately exceed their common time budget, i.e. the physical duration of a data block.
So you might give the new RDAClient a try.
Regards,
Juergen
Re: RDAClient Marker channel not recording marker events.
Posted: 28 Nov 2012, 20:18
by boulay
Hi Juergen,
I used it yesterday and it seemed to work, thanks!
However, I got the following warning:
Code: Select all
Warning: DataIOFilter::Process: Time measurement appears to be unreliable on your system. You cannot use BCI2000 time stamps for timing evaluation.
How worried should I be about that warning?
Re: RDAClient Marker channel not recording marker events.
Posted: 29 Nov 2012, 09:35
by mellinger
Hi Chad,
that warning is issued whenever the difference between time stamps of subsequent packets is negative rather than positive, as it should be.
It is possible that the message is due to a bug in BCI2000's time stamp mechanism. Are you getting this message every time, or sporadically? Has the source module been compiled as a 64bit executable?
Regards,
Juergen
Re: RDAClient Marker channel not recording marker events.
Posted: 29 Nov 2012, 22:41
by boulay
I get the warning once the first time I press set config after launching the module. I do not get it during a run or when resuming a run. I will check later if subsequent 'set config' presses gives me the warning.
This was compiled and run on a 64-bit Win7 system but I used the 'Make VS2008 Project Files.bat' it should be a 32-bit executable.
Re: RDAClient Marker channel not recording marker events.
Posted: 29 Nov 2012, 22:42
by boulay
I forgot to state explicitly: It happens with EVERY (initial) 'set config' press after launching the module.
-Chad
Re: RDAClient Marker channel not recording marker events.
Posted: 30 Nov 2012, 01:44
by boulay
Sorry I must change my report. I have a faulty memory.
The warning message appears the first time I press "Start" after loading the module. It does not appear if I press "Resume". It does not appear after pressing "Start" for a second time (if "Set Config" was pressed in between runs, but the program was not closed).