[FieldTrip] fieldtrip Digest, Vol 14, Issue 2

Adam C. Snyder adam at adamcsnyder.com
Mon Jan 2 18:48:16 CET 2012


Dear Boris,
     I just wanted to thank you for helping me with this issue. I will 
gather together the information you requested when I get back to the lab 
after the New Year's holiday and let you know. Many thanks again!
-Adam

On 02-Jan-2012 11:12, fieldtrip-request at donders.ru.nl wrote:
> Message: 1
> Date: Mon, 2 Jan 2012 16:27:26 +0100
> From: Boris Reuderink<b.reuderink at donders.ru.nl>
> To: Email discussion list for the FieldTrip project
> 	<fieldtrip at donders.ru.nl>
> Cc: "m.vangerven"<m.vangerven at donders.ru.nl>
> Subject: Re: [FieldTrip] Problem detecting triggers with real time
> 	synchronous analysis
> Message-ID:
> 	<CAH_LBS=Yf1trZETYfF5J6KdGT5Bk5kat9PVww+nyhv_aUAtxmg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear Adam,
>
> I took a look at the code for ft_realtime_synchronous, and I have to
> say I can't see why it should not work with the config you provided. I
> would like to localize the problem; specifically, I would like to know
> if it 1) occurs before the data is put in the buffer (i.e.
> biosemi2ft), or 2) after it is read from the buffer --- assuming it
> does not happen in the buffer.
>
> Could perhaps send me output of biosemi2ft containing the messages
> regarding the triggers? Even better would be file-dump of the buffer
> using http://fieldtrip.fcdonders.nl/development/realtime#recording_and_playing_back_online_experiments
> .
>
> @Marcel, is appears you wrote ft_realtime_synchronous. Do you have any clue?
>
> Best regards,
>
> Boris
>
> On Tue, Dec 20, 2011 at 4:54 AM, Adam C. Snyder<adam at adamcsnyder.com>  wrote:
>> Hello,
>> ? ? I'm trying to perform a real time synchronous analysis in response to a particular trigger, but it isn't working. Here are some brief details of the setup: we're using BioSemi ActiveTwo, a December 2011 version of FieldTrip and MATLAB 2010b.
>> ? ? I've managed to get the biosemi2ft executable running, and if I send a trigger through the BioSemi system, the details are noted in the command window. However, within the ft_realtime_synchronous function, the trigger events are not being found. The built-in status updates (e.g., "CMS_IN_RANGE", etc.), in contrast, are picked up by the ft_read_event call within ft_realtime_synchronous function, which adds to my confusion.
>> ? ? My configurations are something like these:
>>
>> ? ? ? ? ?cfg.dataset = 'buffer://localhost:1972';
>> ? ? ? ? ?cfg.bcifun = @hello_world;
>> ? ? ? ? ?cfg.blocksize = 1;
>> ? ? ? ? ?cfg.trigger = [4 2];
>> ? ? ? ? ?cfg.jumptoeof = 'yes';
>> ? ? ? ? ?cfg.bufferdata = 'last'; %maybe the name of this option was different -- I'm typing from memory
>>
>> ? ? I hope someone can kindly help me to figure this out, and thank you in advance for whatever help you can provide.
>>
>> In Science,
>>
>> Adam C. Snyder
>>
>> Postdoctoral Fellow
>> Cognitive Neurophysiology Lab
>> Albert Einstein College of Medicine
>> Bronx, NY
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip



More information about the fieldtrip mailing list