Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: EDF Writer Event from Net Socket Connection
Reply to topic
Author Message
neuroguy



Joined: Nov 15, 2013
Posts: 4

PostPosted: Nov 27, 2013 9:27 PM    Post subject: EDF Writer Event from Net Socket Connection

By using either the NetworkClient/NetworkServer or the XMLNetClient/XMLNetController objects, is it possible to send eventing data to bioera, and then save that to an EDF file along with the raw data?

For instance, would the following scenario be possible in any way?

BioEra Design starts alongside a custom program on the same computer.

BioEra Design has an XMLNetController object

BioEra Design starts recording EEG signal to an EDF File

At certain points throughout the recording, external program (connected to XMLNetController) sends a signal to BioEra, and a marker is made in the EDF file to signify the event.

jarek



Joined: Oct 22, 2007
Posts: 1077

PostPosted: Nov 27, 2013 10:25 PM    Post subject:

Yes, something like that is definitely possible.

The question is how you want to save this event in the file. You could use a separate channel (if you need EDF). Or use annotation channel with XDFFileWriter:

http://www.bioera.net/support/viewtopic.jsp?id=304
jarrod



Joined: Apr 17, 2012
Posts: 9

PostPosted: Dec 28, 2013 12:19 PM    Post subject: Events and codes

I would be very interested to learn if I could get BioEra to take an ASCI input (event code mark) from another program running..... The programs I am thinking of are Superlab or Eprime...

So my question is...Whilst I am running BioEra to collect EEG - Is the screen and keyboard be available to other programs?

Superlab can be set to send an ASCI code via a serial COM port. Could I get BioEra to take this input and put it into a file along with the time?



jarek



Joined: Oct 22, 2007
Posts: 1077

PostPosted: Dec 28, 2013 8:51 PM    Post subject:

I don't see an easy way to do this. First you would need to extract information you require from the other program. Then send it to BioEra using one of its communication protocols. I don't see a way to do this from BioEra alone.
Reply to topic