Welcome!

Sign in with your CogSci, Facebook, Google, or Twitter account.

Or register to create a new account.

We'll use your information only for signing in to this forum.

Supported by

Problem installing parallel port plugin

PiaPia Posts: 32
edited April 25 in OpenSesame

Hi everyone,

I need the parallel-port plugin in oder to send triggers.

So I tried to install the parallel-port plugin according to this directions:
http://osdoc.cogsci.nl/3.1/manual/environment/

I have copyed the opensesame_plugin_-_parallel_port_trigger-master folder into C:\Program Files (x86)\OpenSesame\share, so it is there.

Then I used

import pip
pip.main(['install', 'opensesame_plugin_-_parallel_port_trigger-master'])

But the following error-message occurs:
Collecting opensesame_plugin_-parallel_port_trigger-master
Could not find a version that satisfies the requirement opensesame_plugin
-parallel_port_trigger-master (from versions: )
No matching distribution found for opensesame_plugin
-_parallel_port_trigger-master
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

When I try upgrading the pip with the given command this error occurs:
python -m pip install --upgrade pip
Exception in execute request:
File "", line 1
python -m pip install --upgrade pip
^
SyntaxError: invalid syntax

Can you help me?

Thank you a lot!
Pia

Comments

  • PiaPia Posts: 32

    Solved it! (Sorry for asking, but at the time I really had no ideas left). Had to copy the two subfolders of the opensesame_plugin_-_parallel_port_trigger-master folder in the plugin directory directly.

    Thanked by 1Jarik
  • Hey Pia. Do you mind detailing how you solved this issue. Im having the same trouble, even after copying the subfolders into the pluggin directory

  • bilancinobilancino Posts: 12
    edited July 11

    Hello,
    I had some problems with the parallel port plugin and OpenSesame 3.1.6.

    Here it is how I solved.

    Download the plugin and unzip it, open the file parallel_port_trigger_init.py (in the folder parallel_port_trigger_init)
    Change the row 125 as follows:
    debug.msg(u'Resetting the parallel port on address: %s'.format(self.pptrigger_value,self.experiment.pptrigger_port))

    Copy the folders in the plugins directory in c:\Program Files (x86)\OpenSesame\share\opensesame_plugins\ (2 different folder parallel_port_trigger_init, parallel_port_trigger)

    And then at the start of your experiment you have to put a parallel_port_trigger_init
    Open the object and select the script view.
    Add the following statement and choose "Apply and close"
    set pptrigger_value 0

    I hope it's help

    Paolo

Sign In or Register to comment.