.. highlight:: rst

.. _orb2caps:

########
orb2caps
########

**Provides miniSEED data from an Antelope ORB. Operates on the Antelope system.**


Description
===========

The orb2caps plugin is an application independent of SeisComP transferring real
time data from an Antelope ORB to a :ref:`CAPS server <sec-caps-server>`. The
plugin is configured and it runs on the same machine as the Antelope system. All
data is encoded as :term:`miniSEED` Steim2 on the server side prior to transfer.


Setup
=====

#. Copy the :program:`orb2caps` binary to Antelope bin folder of the respective
   Antelope version. Example:

   .. code-block:: sh

      cp orb2caps /opt/antelope/[version]/bin/

#. Edit :file:`rtexec.pf` in the rtsystem folder

   * add entry in process table:

     .. code-block:: properties

        Processes &Tbl{
        ...
        # <name>    <executable including parameters>
        orb2caps  orb2caps -m 'OM.*/MGENC/(ACC|M100|MBB)' localhost:6510 192.168.20.130:18003
        }

   * add entry in run list for automatic startup:

     .. code-block:: properties

        Run     &Arr{
        ...
        # name of registered process
        orb2caps
        }

#. Check if the plugin is running:

   .. code-block:: sh

      ps aux | grep orb2caps



