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

PSI Users
Linux: The CAFE include files (/include) and libraries (/lib/RHEL8-x86_64) are installed under /opt/gfa/cafe/   
cpp |cpp/<version>
Python v3.7, v3.8, v3.10 |python/pycafe/<version>| version=cafe-1.19.3
For MATLAB users, an AIT module has been made available:
For matlab version 2020a and earlier
module use Cafe
module avail cafe-matlab
module load cafe-matlab/<version>
For matlab version 2020b and onwards
Please execute the following script to start Matlab:
source /opt/psi/Cafe/cafe-matlab.sh -v <version>


CAFE version cafe-1.20.1 tagged 4 July 2024

The source code is in the git repository under https://gitlab.psi.ch/cafe (tag: cafe-1.20.1)

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 Windows 7

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 on 64-bit Windows 10

    Recent 64-bit MATLAB releases require mex-files to be built with the mingw-w64 compiler (gcc version 6.3.0). Both EPICS and CAFE should consequently be similarly compiled.