Skip to content

PyDM 1.6.0

Compare
Choose a tag to compare
@mattgibbs mattgibbs released this 19 Nov 00:26
· 2040 commits to master since this release
9a3938c

PyDM 1.6 Release Notes

PyDM 1.6 makes some architectural changes to how widgets get data, makes it slightly easier to write python-based displays, and adds a new widget for interacting with enum channels. See below for all the details.

New Features

  • All connection between the PyDM widgets and data plugins are now handled in pydm.data_plugins. This means you can use the PyDM widget set without a PyDMApplication. (Thanks @teddyrendahl)
  • pydm.Display subclasses no longer need to include the 'ui_filepath' method.
  • pydm.Display subclasses can now specify ui_filepath by setting 'self.ui_filepath' inside __init__, or also by supplying a ui_filepath keyword argument in the constructor.
  • Management of PyDM external tools has now been extracted from PyDMApplication, into the pydm.tools module (Thanks @hhslepicka )
  • A new PyDMEnumButton widget has been added. This widget gives you new options for controlling enum channels, via a set of push buttons or radio buttons. (Thanks @hhslepicka )
  • PyDM should now be installable directly from pip: pip install pydm (Thanks @hhslepicka, who not only made all this work, but went through the arduous process of securing the 'pydm' name in PyPI!)

Bug Fixes

  • Fix a bug that was causing a crash if a channel was specified with an invalid protocol. (Thanks @fernandohds564 )
  • Rename the PyDM designer plugin file so that it won't collide with other generically-named designer plugins (Thanks @hhslepicka )
  • Shell Command widget tests no longer try to ping Google. (Thanks @hhslepicka )

Other Changes

  • The tutorial info has been extracted out of the PyDM documentation and into the PyDM Tutorial: https://slaclab.github.io/pydm-tutorial/
  • Command line argument text has been slightly tweaked for clarity.