klemenv / PyDevice

PyDevice is an EPICS device for Python interpreter. It allows to connect EPICS database with Python functions from a C-based soft IOC.
GNU General Public License v3.0
21 stars 11 forks source link

Towards supporting strings / PyBytes as waveforms #18

Closed PierreSchnizer closed 2 years ago

PierreSchnizer commented 2 years ago

Work in progress

Epics strings are views of char's. These match rather to PyBytes Objects. Thus the user is expected to handle PyBytes Object (for Python3) and handle any string to byte conversion.