Skip to main content

An OpenSesame Plug-in for sending stimulus synchronization triggers through the parallel port to data acquisition systems

Project description

OpenSesame Plug-in: Parallel Port Trigger

An OpenSesame plug-in for sending stimulus synchronization triggers through the parallel port to data acquisition systems.

Copyright, 2022, Bob Rosbag

Contributions: Code is based on the work of Per Sederberg. Debugged and polished by Edwin Dalmaijer.

About

In EEG/ERP studies it is common to send triggers to mark the timestamp for significant events (e.g., the onset of a trial, presentation of a particular stimulus, etc.). Triggers are typically bytes that are sent via the parallel port to data acquisition systems.

The plug-in has an init item which should be placed at the beginning of an experiment and a trigger item for initiating triggers:

  • Dummy mode for testing experiments.
  • Port address for Windows: hexadecimal (0x378), for Linux: port number (0 in /dev/parport0).
  • Value is a positive integer between 1-255 and specifies the trigger byte.
  • Enable duration option to enable the duration parameter.
  • Duration is the duration in ms.

Linux and Windows are supported (possible also OSX, not tested). For Windows the DLPortIO.dll driver is used to access the parallel port. No need for driver installation.

Documentation: http://osdoc.cogsci.nl/devices/triggers/

License

This software is distributed under the terms of the GNU General Public License 3. The full license should be included in the file COPYING, or can be obtained from:

This plug-in contains works of others.

Documentation

Installation instructions and documentation on OpenSesame are available on the documentation website:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file opensesame_plugin_parallel_port_trigger-4.3.0.tar.gz.

File metadata

File hashes

Hashes for opensesame_plugin_parallel_port_trigger-4.3.0.tar.gz
Algorithm Hash digest
SHA256 2129cd1c2ee5c3bcd94c4368779e60e69b68baf4a42c8ba026553c4f4387dd51
MD5 92e6ac4ad4bd4b97eccb978e6a3be318
BLAKE2b-256 bfd78b7e5b7e21be9ea9e86d494db1367bca9cbb9bf2ff118e7313b09a6a8aad

See more details on using hashes here.

File details

Details for the file opensesame_plugin_parallel_port_trigger-4.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opensesame_plugin_parallel_port_trigger-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d29ad7f6a74bed561ca1407f1ed5cc097dfbc9e9bfc134712c8082c71225bc46
MD5 15786ac324f34d31b4530376f4e2c237
BLAKE2b-256 7e2442c707ae5dacb073c2e289c8d417a23ed6f43bdf5b8a365f02634f7bbdeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page