Last updated:
0 purchases
pyinterface 1.7.0
Interface PCI board driver for python
Environment
Linux
python 3
require : portio module
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.