Difference between revisions of "PyDM 101"

From Beam Line Controls
Jump to navigation Jump to search
 
Line 2: Line 2:
== Getting started ==
== Getting started ==


Requirements: python3 and conda environment.  
Requirements: python3 and conda.  
* Activate conda:
* Activate conda:
::<code>$ '''source /APSshare/miniconda/x86_64/bin/activate'''</code>
::<code>$ '''source /APSshare/miniconda/x86_64/bin/activate'''</code>
Line 12: Line 12:
::<code> ~/.conda/envs/pydm/bin/designer</code>
::<code> ~/.conda/envs/pydm/bin/designer</code>
::<code>'''$ 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