Skip to content

Releases: cnpem-emi/pydrs

PyDRS v1.3.1

31 Aug 20:01
Compare
Choose a tag to compare

Added:

  • Parses and displays error type when a serial error occurs
  • read_csv_dsp_modules_bank and read_csv_param_bank commands
  • Option to bypass confirmation when using reset_udc
  • Easier to read dictionary content prettifier
  • More read_vars_x functions return dicts

Changed:

  • Deprecation warning is only shown once
  • Fixes getting parameter ID

PyDRS v1.2.5

15 Aug 14:43
Compare
Choose a tag to compare

Added:

  • read_csv_dsp_modules_bank and read_csv_param_bank by @pnallin in #35
  • close_loop as gramatically correct alias for closed_loop by @gfrn

Removed:

  • Redundant and unused read_ps_status calls in var reading functions by @gfrn

Full Changelog: v1.2.4...v1.2.5

PyDRS v1.2.4

11 Aug 13:50
Compare
Choose a tag to compare

Changed

  • Fix identation bug on get_dsp_modules_bank() by @gabrielbrunheira in #31
  • List into dict (get/set params) and also returns digital value for FP by @pnallin in #32
  • Returns dict for certain FAC/FBP/FAP read_vars() functions by @gfrn

Removed

  • Removed redundant store_dsp_modules_bank_csv function (performs exactly the same task as store_param_bank_csv

PyDRS v1.2.3

08 Aug 11:37
Compare
Choose a tag to compare

Added:

  • Deprecation messages for substituted/altered functions

PyDRS v1.2.2

28 Jul 14:15
Compare
Choose a tag to compare

Added:

  • Error messages for BSMP return errors (0xE_)

Changed:

  • set_slave_add is now a property, slave_addr
  • EthDRS, GenericDRS and SerialDRS can be imported from the base module
  • Fixed BSMP errors appearing as checksum errors
  • Fixed eth-bridge version compatibility troubles (such as including the response status byte in the checksum)

PyDRS v1.2.1

26 Jul 11:59
Compare
Choose a tag to compare

Added:

  • Resolution steps on error message
  • save_param_bank timeout is set to a base safe value

Changed:

  • Empty reply always throws exception
  • Fixed exception type on error response (proper SerialError response instead of SerialErrPckgLen)
  • Fixed leftover "broken" messages on a new command when another command times out
  • Increases timeout for save_param_bank

Removed:

  • Removed get_ps_model

PyDRS v1.2.0

21 Jul 19:47
1876a42
Compare
Choose a tag to compare

Added:

  • Support for TCP/IP communication (eth-bridge)
  • Base class for different forms of communication
  • BSMP validation
  • Descriptive exceptions and warnings based on BSMP validation

Changed:

  • timeout is now a property
  • Connection is handled when every class instance is created instead of requiring connect

Workflow update

27 Oct 14:07
929fdac
Compare
Choose a tag to compare
1.1.1

Update pypi.yml

Removed matplotlib and ufjf methods

27 Oct 14:04
bc2bfa0
Compare
Choose a tag to compare
Merge pull request #8 from lnls-sirius/siriuspy

Removed ufjf methods

Import SerialDRS from __init__.py

27 Oct 13:43
48672e0
Compare
Choose a tag to compare
Merge pull request #7 from lnls-sirius/siriuspy

SerialDRS into __init__.py