simEpicsApp EPICS application

simEpics includes a complete example of an EPICS application, consisting of:

  • A database file and corresponding autosave request file that contain the PVs required by the simepics.py base class.

  • OPI screens for medm

  • An example IOC application that can be used to run the above databases. The databases are loaded in the IOC with the example substitutions file, simEpics.substitutions.

Base class files

The following tables list all of the records in the simEpics.template file. These records are used by the simepics base class and so are required.

simEpics.template

This is the database file that contains only the PVs required by the amcontrol.py base class simEpics.template.

Camera PV Prefixes

Record name

Record type

Description

$(P)$(R)CameraPVPrefix

stringout

Contains the prefix for the detector, e.g. 2bmbSP2:

Example PV name

Record name

Record type

Description

$(P)$(R)ExamplePVName

stringout

Contains a PV name, e.g. 32id:m1

AM served PVs

Record name

Record type

Description

$(P)$(R)simEpicsPv1

stringout

Contains a string PV.

$(P)$(R)simEpicsPv1

ao

Contains a float PV.

$(P)$(R)simEpicsPv1

ao

Contains a float PV.

$(P)$(R)simEpicsPv1

ao

Contains a float PV.

$(P)$(R)simEpicsPv1

stringout

Contains a string PV.

$(P)$(R)simEpicsPv1

stringout

Contains a string PV.

medm files

simEpics.adl

The following is the MEDM screen simEpics.adl during a scan. The status information is updating.

_images/simEpics.png

simEpicsEPICS_PVs.adl

The following is the MEDM screen simEpicsEPICS_PVs.adl.

If these PVs are changed simEpics must be restarted.

_images/simEpicsEPICS_PVs.png