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.5.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyinterface-1.7.5.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for pyinterface-1.7.5.tar.gz
Algorithm Hash digest
SHA256 7c4dee8c6373c77afb5a440b4c6e2efcd1ad7603286c14e32a6c506b00e8dadd
MD5 9571ba8e0cbd950d848b6348c08e550d
BLAKE2b-256 74fcb609c256af5e34afe9838ea67cd40b13d3bead31721efb1395f2731866b1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyinterface-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6b4b06746f8d9cdf5bdeb98b8ac680319194bb67bcea4d6fb4746081517926a2
MD5 e22fcc70f994a8c71232037b3109bf19
BLAKE2b-256 16395440d7a1348be4be51567c9118609e77e0e81a67bef50f573d0fbe3ada97

See more details on using hashes here.

Supported by

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