Skip to main content

driver for Interface PCI board

Project description

Interface PCI board driver for python

Environment

Installation

pip install pyinterface

Usage

import pyinterface

board_name = 2724
rsw_id = 2

b = pyinterface.open(board_name, rsw_id)
b.input_byte('IN1_8')
>>> [0, 0, 0, 0, 0, 0, 0, 0]

b.output_byte([0, 1, 0, 1, 0, 0, 1, 1], 'OUT25_32')
>>> 000000CA

Documents

http://pyinterface.readthedocs.io/ja/latest/index.html

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

pyinterface-1.7.0.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

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

pyinterface-1.7.0-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file pyinterface-1.7.0.tar.gz.

File metadata

  • Download URL: pyinterface-1.7.0.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pyinterface-1.7.0.tar.gz
Algorithm Hash digest
SHA256 4d24ab5d119b0db87189922943dd3781a98d940924bdf9e45003f2b39c57cc59
MD5 2c7d7e26331f2a614edad372901215c4
BLAKE2b-256 d7e8a1dd4088948e26241908122cfc99472f46c828ac42fe48fcfe9e27fbbf14

See more details on using hashes here.

File details

Details for the file pyinterface-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: pyinterface-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 51.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pyinterface-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff13dfdfc2034d8f99941ea42c9d2d2079dc1ae1d39a76432558892bb7a1f23
MD5 bd504c4924d3eb78374c98341ef2a2cb
BLAKE2b-256 cb0df779ed4c8a649f2faac01adee239f59c5de5d13e88b3f4b9225739f5ef7a

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