EPICS uses
client–server and
publish–subscribe techniques to communicate between computers. Servers, the “
input/output controllers” (IOCs), collect experiment and control data in real time, using the measurement instruments attached to them. This information is then provided to clients, using the high-bandwidth Channel Access (CA) or the recently added pvAccess networking protocols that are designed to suit
real-time applications such as scientific experiments. IOCs hold and interact with a database of "records", which represent either devices or aspects of the devices to be controlled. IOCs can be hosted by stock-standard servers or PCs or by
VME,
MicroTCA, and other standard
embedded system processors. For "hard real-time" applications the
RTEMS or
VxWorks operating systems are normally used, whereas "soft real-time" applications typically run on
Linux or
Microsoft Windows. Data held in the records are represented by unique identifiers known as Process Variables (PVs). These PVs are accessible over the network channels provided by the CA/pvAccess protocol. Many record types are available for various types of input and output (e.g., analog or binary) and to provide functional behaviour such as calculations. It is also possible to create custom record types. Each record consists of a set of fields, which hold the record's static and dynamic data and specify behaviour when various functions are requested locally or remotely. Most record types are listed in the EPICS record reference manual.
Graphical user interface packages are available, allowing users to view and interact with PV data through typical display widgets such as dials and text boxes. Examples include EDM (Extensible Display Manager), MEDM (
Motif/EDM), and CSS. Any software that implements the CA/pvAccess protocol can read and write PV values. Extension packages are available to provide support for
MATLAB,
LabVIEW,
Perl,
Python,
Tcl,
ActiveX, etc. These can be used to write scripts to interact with EPICS-controlled equipment. ==Facilities using EPICS==