Difference between revisions of "PyDM 101"

From Beam Line Controls
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Getting started ==
Requirements: python3 and conda.
* Activate conda:
::<code>$ '''source /APSshare/miniconda/x86_64/bin/activate'''</code>
* Instal ''pydm'' environment:
::<code>$ '''conda create -n pydm -c conda-forge pydm'''</code>
* Restart shell (ie close terminal and open a new one) and activate ''pydm'':
::<code>'''$ source /APSshare/miniconda/x86_64/bin/activate pydm'''</code>
::<code>'''$ which designer'''</code>
::<code> ~/.conda/envs/pydm/bin/designer</code>
::<code>'''$ designer &'''</code>


== External Links ==
== External Links ==
[https://slaclab.github.io/pydm-tutorial/action/intro_designer.html Qt designer]
*[https://slaclab.github.io/pydm-tutorial/action/intro_designer.html Qt designer]
[https://slaclab.github.io/pydm-tutorial/intro/datasource.html channel access]
*[https://slaclab.github.io/pydm-tutorial/intro/datasource.html channel access]

Latest revision as of 16:30, 21 February 2023

Getting started

Requirements: python3 and conda.

  • Activate conda:
$ source /APSshare/miniconda/x86_64/bin/activate
  • Instal pydm environment:
$ conda create -n pydm -c conda-forge pydm
  • Restart shell (ie close terminal and open a new one) and activate pydm:
$ source /APSshare/miniconda/x86_64/bin/activate pydm
$ which designer
~/.conda/envs/pydm/bin/designer
$ designer &

External Links