Skip to content

Files

Latest commit

1dce653 · Aug 13, 2024

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 8, 2023
Apr 3, 2019
Aug 13, 2024
Nov 17, 2018
Jul 6, 2024
Dec 19, 2017
Sep 30, 2021
Sep 8, 2023
Sep 23, 2017
Sep 8, 2023
Jul 6, 2020
Dec 19, 2017
Aug 8, 2023
Sep 23, 2017
Jun 26, 2020
Sep 23, 2017
Feb 5, 2024
Sep 8, 2023
Sep 8, 2023
Dec 1, 2017
Oct 31, 2023
Sep 8, 2023
Jun 5, 2018
Dec 14, 2018
Aug 15, 2023
Dec 19, 2017
Sep 29, 2021
May 29, 2018
Sep 8, 2023
Oct 20, 2017
Sep 8, 2023
Feb 26, 2021
Aug 2, 2023
Apr 16, 2020
May 23, 2024
Feb 2, 2018
Nov 12, 2019
Nov 7, 2023
Sep 23, 2017
Jul 30, 2018
Feb 27, 2021
Oct 9, 2018
Sep 8, 2023
Aug 4, 2020
Mar 2, 2021
Jul 6, 2024
Nov 4, 2021
Oct 3, 2023
Feb 10, 2023
Sep 23, 2017
Feb 23, 2023
Oct 18, 2016
Oct 9, 2018

pydm-examples: Python Display Manager Examples

PyDM is a PyQt-based framework for building user interfaces for control systems. The goal is to provide a no-code, drag-and-drop system to make simple screens, as well as a straightforward python framework to build complex applications.

Prerequisites for the examples

  • Python 3.6+
  • pydm
  • Qt 5.7 or higher
  • PyQt5 >= 5.7
  • pcaspy (Optional) pcaspy is needed for the pydm-testing-ioc used in most of the examples.

Running the Examples

There are various examples of some of the features of the display manager. To launch a particular display run 'pydm '.

There is a 'home' display in the examples directory with buttons to launch all the examples: run 'pydm home.ui'

Documentation for the examples is yet to come. Documentation for PyDM is available at http://slaclab.github.io/pydm/. Documentation is somewhat sparse right now, unfortunately.

Starting the testing IOC

The testing IOC provides EPICS PVs for use on most of the examples here provided. As of now the PVs are generated using pcaspy, for instructions on how to install this package please refer to the package documentation

After having the dependency installed run the command:

./testing_ioc/pydm-testing-ioc

You may need to check the EPICS address and server port to ensure your local system can find the simulated PVs. Use the following procedure from the command line to identify the EPICS_CA_SERVER_PORT and add to your EPICS_CA_ADDR_LIST:

env | grep EPICS_CA
export EPICS_CA_ADDR_LIST="${EPICS_CA_ADDR_LIST} (your local host):(EPICS_CA_SERVER_PORT)"

Then run the testing_ioc as above.