A C++ Channel Access Interface to EPICS
with extensions for Python and MATLAB
   

CAFE | MOCHA | PyCafe | Download

For windows, please see instructions below.

PSI Users
Linux: The CAFE include files (/include) and libraries (/lib) are installed under /opt/gfa/cafe/   
cpp |cpp/<default|latest>
Python v3.5 |python/python-3.5/<default|latest>
For MATLAB users, an AIT module has been made available:
module use Cafe
module avail cafe-matlab
module load cafe-matlab/<version>


CAFE version 1.5.0-final-2 released on 22 November 2017

The source code is in the git repository under https://gitlab.psi.ch/cafe/.

The subset of the boost header files required by CAFE is included in the distribution (should boost not have already been installed on your system).

The CAFE XML configuration mechanism for group objects requires QtCore and QtXml. CAFE may be successfully compiled without Qt by dis-enabling the linkage to the Qt libraries in the automatic build system (autogen).

The directory structure is:

cafe
|boost|
|cpp|
|cycafe|
|mocha|

mocha and cycafe require cpp and boost.


CAFE on 64-bit Windows7

Prerequisites

  • Microsoft Windows SDK v7.1 (Visual C++ compiler)
  • GnuWin32 make utility from gnuwin32.sourceforge.net/packages/make.htm
  • Boost header files and boost thread, system, date_time, chrono libraries
  • x64 QtCore and QtXml libraries (optional)
  • Python library, e.g., from anaconda. Note MSVC 10 requires python version < 3.5
  • CAFE for Windows may be downloaded from SWITCHdrive (cafe-1.5.0-final-1 is latest version)