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

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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page