Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Problem installing parallel port plugin

PiaPia
edited April 2017 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<br /> pip.main(['install', 'opensesame_plugin_-_parallel_port_trigger-master'])

But the following error-message occurs:
Collecting opensesame_plugin_-<em>parallel_port_trigger-master<br /> Could not find a version that satisfies the requirement opensesame_plugin</em>-<em>parallel_port_trigger-master (from versions: )<br /> No matching distribution found for opensesame_plugin</em>-_parallel_port_trigger-master<br /> You are using pip version 8.1.2, however version 9.0.1 is available.<br /> 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<br /> Exception in execute request:<br /> File "<ipython-input-3-93493bbcf27f>", line 1<br /> python -m pip install --upgrade pip<br /> ^<br /> SyntaxError: invalid syntax

Can you help me?

Thank you a lot!
Pia

Comments

  • 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.

  • 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

  • edited July 2017

    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.