Re: e prime and emotiv neuroheadset

369 views
Skip to first unread message

Paul Groot

unread,
Jul 23, 2013, 3:08:34 AM7/23/13
to e-p...@googlegroups.com
Would this program on the same computer or on a separate system? And should these events be transmitted in real time (time critical) manner?

paul


On 23 July 2013 02:27, juan concepcion <elmor...@gmail.com> wrote:
 I am trying  to  send stimulus presentation time; press and release time to be recognized in another application (TestBench) from the Emotiv Headset. Does anyone knows how does e-prime sends these data to another application? And maybe how to connect the 2 applications? 

--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f43044cf-eada-4c2f-b0b1-606821309999%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

juan concepcion

unread,
Jul 23, 2013, 7:32:44 AM7/23/13
to e-p...@googlegroups.com
These programs will be in the same computer. Time is a crucial factor because the events will be marked or labeled in TestBench (an EEG data acquisition app)


Paul Groot

unread,
Jul 23, 2013, 7:49:35 AM7/23/13
to e-p...@googlegroups.com
You might run into all kinds of problems if you run an additional (acquisition) application on the same system. The main two issues I can think off are: 1) TIMING: eprime will boost itself with a high CPU priority, forcing other applications in the background. 2) the GUI: eprime will force itself in a non-cooperative directX mode, which doesn't allow you to switch to another application while the program runs.

So, traditionally, data acquisition systems run on their own computer. Interfacing can be done using parallel ports, serial ports or TCP/IP. Other hardware interfaces might be possible as well, provided that there is some API or SDK available to program it using E-Basic. If timing is critical, a parallel port would still be the best option I guess.

Paul



juan concepcion

unread,
Jul 23, 2013, 8:03:23 AM7/23/13
to e-p...@googlegroups.com
Thank you! Currently I am trying to use a virtual com port to interface both applications but have not succeeded yet since I do not have the EEG headset with me. So, that is a minor set back but today later I will be able to try this. None the less your advice an information is very useful. Thanks again I'll try also what you have said.


juan concepcion

unread,
Dec 5, 2013, 10:47:21 AM12/5/13
to e-p...@googlegroups.com
Hello again! I've tried sending markers from e-prime to the emotiv testbench application for when a stimulus is presented on the same computer but have not had any luck. Now I would like to use a stimulus presenting computer using e prime and sending the markers to a parallel port to testbench on another computer. How can I connect two computers through a parallel ports to use e-prime on one computer and testbench on another?
Message has been deleted

uv

unread,
Mar 20, 2017, 5:53:42 AM3/20/17
to E-Prime
Hi
Although the question was asked long ago it might be still haunting users today (whenever today is for you, reader).
I am not sure this is possible to use parallel ports for this, as Emotiv software allows serial, rather than parallel port configuration.
I used Dell laptop with a docking station (E Port Plus) to run E-Prime and send the trigger via a serial port (the point is that the docking station had a serial connector). 
I used a desktop PC with a serial port to run Pure.EEG for collecting EEG and receive triggers from E-Prime.

I had to define the same settings for the serial port on both E-Prime and Pure.EEG, with Bits per second: 9600, Data bits: 8, Parity: Mark, Stop bits: 1, and COM1 or 2, depending on what shows on Device Manager.
in the experiment I added an Inline inside trial-procedure., with the following lines:

image1.OnsetSignalEnabled=true
image1.OnsetSignalPort=&H3f8
image1.OnsetSignalData=c.GetAttrib("Code")

the hexadecimal address 3f8 is common for serial ports, but you may have to lookup yours on device manager -> ports -> communication

It may be possible to run both E-Prime and Pure.EEG on the same PC, using a virtual serial port as suggested above, I didn't try it.

Good luck, and get a better EEG system next time.
serialPortSetting.PNG

jv

unread,
Apr 19, 2017, 2:41:08 PM4/19/17
to E-Prime
wow nice. good for you. as when i wrote this message i didnt even know that e prime existed like a few months before. i was just beginning to learn about presentation software. this whole paradigm was knew to me. so sorry i offended you in any way. i had asked thousands of times but people seem to answer the same way, as if i am supposed to know the answer to my own question. but yeah i finally figured it out and even though there are a few things a should learn to manage you should keep your suggestions to yourself. i would love to have you here and help me with my experimental designs. just to let the community know how much you can help, uv. But yeah good get that piece of equipment yourself a dock. btw i have one and its very cheap but gets the job done. hope you do not find this comment as a pseudoscientific one. #nerdbattles.  
Reply all
Reply to author
Forward
0 new messages