Tutorial Setup

PCASpy Server

A PCASpy server provides PVs for the tutorial files to read/write.

The server mimics some PVs of a motor and camera, and is located as follows:
examples/testing_ioc/pydm-tutorial-ioc

Installing PCASpy from the documentation above and following the pydm installation instructions provides all needed prerequisites for this tutorial.

Using the PCASpy Server

Note

You will need to export the following variable in each terminal that will run either the PCASpy server or pydm:
export EPICS_CA_MAX_ARRAY_BYTES=300000
Run the server as follows:
./examples/testing_ioc/pydm-tutorial-ioc
In another terminal window, enable the sever’s running state:
caput IOC:Run 1

The server will now be running and the tutorial files can access the necessary PV’s.

In another (third) terminal window, the completed tutorial files can be ran as follows:
pydm <tutorial_file_name>.ui|.py