Commit 5401b50f authored by Georg Brandl's avatar Georg Brandl Committed by Georg Brandl
Browse files

pils_zapf: add support for PILS PLCs via zapf library

Change-Id: I45bd99b72554145f0e2c8e3adefe2655044c107b
Reviewed-on: https://forge.frm2.tum.de/review/c/frm2/tango/entangle/+/25644


Tested-by: default avatarJenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
Reviewed-by: default avatarEnrico Faulhaber <enrico.faulhaber@frm2.tum.de>
Reviewed-by: default avatarGeorg Brandl <g.brandl@fz-juelich.de>
parent fbbaa3f1
......@@ -35,6 +35,7 @@ A full list:
* snimpy -- snmp reader device
* adafruit-circuitpython-ads1x15 -- ads1x15_aio devices
* LabJackPython -- labjack_usb devices
* zapf - access to PILS PLCs
Trying out
......
......@@ -30,7 +30,8 @@ Depends: ${misc:Depends},
python3-cffi,
python3-serial,
python3-usb,
python3-urwid
python3-urwid,
python3-zapf
Description: Convenient framework to write device servers
Contains a collection of base interfaces for all kinds of hardware,
which allows writing device drivers quickly, a library of helper APIs
......
......@@ -32,6 +32,7 @@ list:
* cffi -- several devices binding to C libraries
* lxml -- several devices accessing HTTP resources
* zapf -- for access to PILS PLC devices
* pyserial -- serial device
* gpib-linux -- linux_gpib device
* MDIS -- frm2ctr devices
......
......@@ -24,6 +24,8 @@ PLC (PILS specification)
.. autodev:: pils_plc.Master
.. autodev:: pils_zapf_plc.Master
IPC (IPC Göttingen protocol)
----------------------------
......
This diff is collapsed.
......@@ -5,3 +5,4 @@ pyserial>=2.5
PyUSB>=1.0.0
urwid>=1.1.0
psutil>=4.0
zapf>=0.1
......@@ -45,7 +45,9 @@ logger = logging.getLogger('covcheck')
def blacklisted(cls):
"""If true, don't check for coverage of this device."""
return cls.__module__.endswith('pils_plc.interface') or \
cls.__module__.endswith('nse_special')
cls.__module__.endswith('nse_special') or \
(cls.__module__.endswith('pils_zapf_plc') and
not cls.__name__ == 'Master')
def main():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment