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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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