Releases: klemenv/PyDevice
Releases · klemenv/PyDevice
R1.3.1
R1.3.0
The PyDevice 1.3.0 allows to compile Python code once and cache the compiled byte-code unless the
code changes in the record. Some of the advantages include allowing to skip the
record parameters conversion to string and later to Python type, with the conversion
gone so are problems with lost precision for double/float types, and as reported
the record processing the Python code could be as much as 5x faster.
R1.2.1
What's Changed
- Build fixes for Debian Bullseye with Base 3.15 by @mgotz in #25
- Update README.md with details about the use of PYTHONPATH and virtual… by @mp49 in #24
- fix race condition ai record to not skip conversion under heavy load
New Contributors
Full Changelog: R1.2.0...R1.2.1
Support parallel execution
Main feature of this release is to bring in the support for executing multiple Python code snippets at the same time.
pycalcRecord improvements
pycalcRecord improvements:
- added OUT field
- input arguments and return type are now statically typed through FTx fields
- pycalcRecord now handles DBF_ENUM input and turns it into a DBF_STRING uppon converting to Python
Other changes:
- Add handling of TPRO field, useful for passing TPRO==1 to Python code as debugging switch
- Fixed building against base 3.15.x
Introduction of pycalc record
What's Changed
- New pycalc record has been introduced with support for 10 any-type arguments and adaptive return value
- Use of % for escaping record fields is now optional and can be omitted
- When TPRO=1, Python code is now printed to IOC console before it executes
- configure/CONFIG.PyDevice now defines any Python specific compiler and linker flags, IOCs only need to include this file in Makefile
Full Changelog: R1.0.0...R1.1.0
First public release
What's Changed
- This is the first public stable release
- It supports EPICS base 3.14.12.x and 7.0.x.
- It supports Python 2.7 and Python 3.6+.
- Invoke Python code from the following EPICS records: ai, ao, bi, bo, longin, longout, lsi, lso, mbbi, mbbo, stringin, stringout, waveform
- Automatically converts parameter and return types
- Single threaded Python execution with support for put/get-callbacks
- Python code can be executed from IOC console using pydev()
New Contributors
- @mp49 made their first contribution in #1
- @PierreSchnizer made their first contribution in #3
- @simon-ess made their first contribution in #7
Full Changelog: https://github.com/klemenv/PyDevice/commits/R1.0