driver for Interface PCI board


License
MIT
Install
pip install pyinterface==1.6.0

Documentation

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