Send trigger by parallel port

343 views
Skip to first unread message

antonio Gonzalez

unread,
Jul 15, 2015, 8:33:24 AM7/15/15
to psychop...@googlegroups.com
Hello.

I'm just beginnig with psychopy.

I need send trigger from psychopy to an EEG software. The EEG don't have direct conection because the eeg signal is send from the amplifier to the computer by Wireless.

Pyschopy is installed in a computer and the EEG software is installed in another computer.

In psychopy ...File>Preferences>General..in parallel port box (there are this parallel port address: [u'0x0378', u'0x03BC'].

I have some questions:

1. I must write the parallel port address of the computer wich have the psychopy or of the computer wich have the EEG?

2. Is the format [u'address']? If it is yes, the parallel port address '0*0378 and also 0*03BC? I can read in my computer "Intervalo de E/S 0378-037F" like parallel port address (I think, ).

So, Do I only need to clik in 0*0.378 in parallel port address of parallelOut properties of I/O of psychopy or I need to do anything else?

Thank you very much.

Jonathan Peirce

unread,
Jul 15, 2015, 10:04:41 AM7/15/15
to psychop...@googlegroups.com
AH! You have a parallel port?! This would have been useful earlier. Please try to keep talking to your colleagues about how they achieve the connections in e-prime, because it's easier to mirror what they do. (I agree with the others that you should just use e-prime if at all possible - we can't provide the sort of support by email that I think you need).

If you've found that the address of your port is 0378 then just select that entry from the parallel component on the Builder - you don't need to change anything in prefs because that's one of the default locations that it expects.

I think now you need to spend some time trying on your own.

best wishes
Jon
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/7e3c27dc-a676-454c-a5f6-b8a86d60b456%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Jonathan Peirce
University of Nottingham

http://www.peirce.org.uk


This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.

antonio Gonzalez

unread,
Jul 15, 2015, 10:39:41 AM7/15/15
to psychop...@googlegroups.com
Dear Jon.

I hadn't parallel port, but  I have adquired two used PC to can avance.

Please, Can you help me and tell me if I must write the port address of the computer wich have the EEG or the computer wich is installed the psychopy?


Thank you very much Jon.

Jonathan Peirce

unread,
Jul 15, 2015, 11:17:15 AM7/15/15
to psychop...@googlegroups.com
Did you hear the message that you need to work with someone there that understands the technical side better? When you've done that we might be able to help more

I'm afraid the level of support you need is more than we can provide by email

good luck with your adventure
Jon
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.

antonio Gonzalez

unread,
Jul 16, 2015, 12:42:34 PM7/16/15
to psychop...@googlegroups.com
Dear Jon.

I agree your help.

In my past post only ask about if I need write the port address of the computer wich have the psycophy or the port address of the computer wich have the EEG.do it.

But, if you can help me, perhaps somebody can

Thanks very much.





El miércoles, 15 de julio de 2015, 14:33:24 (UTC+2), antonio Gonzalez escribió:

Richard Höchenberger

unread,
Jul 16, 2015, 3:38:28 PM7/16/15
to psychop...@googlegroups.com
Hello Antonio,

On Thu, Jul 16, 2015 at 6:42 PM, antonio Gonzalez
<toniogo...@gmail.com> wrote:
> In my past post only ask about if I need write the port address of the
> computer wich have the psycophy or the port address of the computer wich
> have the EEG.do it.

this obviously has to be the address of the PsychoPy computer. Usually
the other end of the cable is attached to the EEG amplifier directly,
not the EEG recording computer. But then again, I've only worked with
three different systems so far, so there may be differences with
others.

> But, if you can help me, perhaps somebody can

Antonio, please take Jon's advise seriously and try to get somebody
who can locally help you, i.e. who can be physically present with you
in the lab and try to get things working. EEG setups are very complex,
you haven't worked with one before, you are going to have a really,
really hard time trying to figure out all the necessary details all by
yourself. And I'm only talking about the setup here. You also need a
person experienced with EEG analysis to help you with that: data
collection is, in my opinion, the easier part!

Best wishes,

Richard

antonio Gonzalez

unread,
Jul 16, 2015, 8:02:13 PM7/16/15
to psychop...@googlegroups.com
Hello Richard.

Thank you very much.

I have some people who can help me with the experiment, wave recording, datas analisys, etc.

My problem is  for the installation.

The use of build of psychopy is very intuitive and watching some videos I Could built my first experimet.

I hope to learn more, and with your help is easier for a new user.

Thanks, Richard.







El miércoles, 15 de julio de 2015, 14:33:24 (UTC+2), antonio Gonzalez escribió:

pick...@hotmail.com

unread,
Jul 23, 2015, 1:10:17 PM7/23/15
to psychopy-users, toniogo...@gmail.com
Hello.


I´m tried to run the experiment in another computer with parallel port.

I added DLportio in Windows, System 32, Drivers.

But when I run the software it do error. In the other computer withouth parllel port I could to run , but now I have problem with the clibration of the sreen. I put the name: Monitor PnP generico y put the resolution 1280*960 and the 31 cm. But The calibration stop in grey.

ANd after run the software and give this error.


 ########### Running: C:\Users\hp\Desktop\Lang_experiment_lastrun.py ############
Unexpected error loading library avbin: 
Unexpected error loading library avbin: 
2.1619 ERROR avbin.dll failed to load.
                     Try importing psychopy.visual as the first library
                     (before anything that uses scipy)
                     and make sure that avbin is installed.
2.1855 ERROR avbin.dll failed to load.
                     Try importing psychopy.visual as the first library
                     (before anything that uses scipy)
                     and make sure that avbin is installed.
2.2891 WARNING Movie2 stim could not be imported and won't be available
3.7789 WARNING psychopy.parallel has been imported but no parallel port driver found. Install either input32 or dlportio
10.0194 WARNING Monitor specification not found. Creating a temporary one...
10.0469 WARNING Trying to use a framebuffer pbject but GL_EXT_framebuffer_object is not supported. Disabling
10.0470 WARNING Trying to use a framebuffer pbject but GL_ARB_texture_float is not supported. Disabling
11.8800 WARNING t of last frame was 13.75ms (=1/72)
11.9719 WARNING t of last frame was 14.21ms (=1/70)
12.2265 ERROR Couldn't find image file 'C:\Users\ANTONIO\Desktop\Lang_experiment\Blanco.png'; check path?
saved data to u'C:\\Users\\hp\\Desktop\\data/10_Lang_experiment_2015_jul_23_1839.csv'
Traceback (most recent call last):
  File "C:\Users\hp\Desktop\Lang_experiment_lastrun.py", line 74, in <module>
    texRes=128, interpolate=True, depth=0.0)
  File "C:\Program Files\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.7.egg\psychopy\visual\image.py", line 89, in __init__
    self.setImage(image, log=False)
  File "C:\Program Files\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.7.egg\psychopy\visual\image.py", line 261, in setImage
    setAttribute(self, 'image', value, log)
  File "C:\Program Files\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.7.egg\psychopy\tools\attributetools.py", line 100, in setAttribute
    setattr(self, attrib, value)  # set attribute, calling attributeSetter if it exists
  File "C:\Program Files\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.7.egg\psychopy\tools\attributetools.py", line 20, in __set__
    newValue = self.func(obj, value)
  File "C:\Program Files\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.7.egg\psychopy\visual\image.py", line 249, in image
    maskParams=self.maskParams, forcePOW2=False)
  File "C:\Program Files\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.7.egg\psychopy\visual\basevisual.py", line 647, in _createTexture
    % (tex, os.path.abspath(tex))#ensure we quit
OSError: Couldn't find image file 'C:\Users\ANTONIO\Desktop\Lang_experiment\Blanco.png'; check path? (tried: C:\Users\ANTONIO\Desktop\Lang_experiment\Blanco.png)

Anybody can help me?

Thanks.


El miércoles, 15 de julio de 2015, 14:33:24 (UTC+2), antonio Gonzalez escribió:

Jonathan Peirce

unread,
Jul 24, 2015, 5:40:28 AM7/24/15
to psychop...@googlegroups.com
The error message doesn't suggest any issue with the parallel port (so far). It's quitting because it can't find the file named:

    C:\Users\ANTONIO\Desktop\Lang_experiment\Blanco.png
Are you sure that file exists in that location?

Jon
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

antonio Gonzalez

unread,
Jul 24, 2015, 10:06:32 AM7/24/15
to psychopy-users, toniogo...@gmail.com
Thank you very much Jon.

It was an experiment done in another computer and copy.

 I'm going to do the complete experiment in the  computer.

Thanks.

El miércoles, 15 de julio de 2015, 14:33:24 (UTC+2), antonio Gonzalez escribió:

pick...@hotmail.com

unread,
Jul 24, 2015, 12:09:48 PM7/24/15
to psychopy-users, toniogo...@gmail.com
Thank you Jon.

I did like you said me and it is solutioned.

Now I have sending the triggle to the port but it give error.

I have in the box name: p_port and in port address  0*078 and it do dont run wel.

My port address is 

and give me that error




Can you help me. Thanks.


El miércoles, 15 de julio de 2015, 14:33:24 (UTC+2), antonio Gonzalez escribió:
Reply all
Reply to author
Forward
0 new messages