Skip to content
Snippets Groups Projects
  • Jonathan Hanks's avatar
    ded4a9f9
    Added daqd_shmem · ded4a9f9
    Jonathan Hanks authored
    daqd_shmem is similar to a standiop.  However it reads data from one combined shared memory segment, does not require a timer or adc card.
    
    Updates to the fe_stream_test to put data in the proper places.
    
    Additional test scripts and commands to help manipulate and introspect mbuf memory buffers.
    src/drv/mbuf/mbuf_probe
    src/zmq_stream/scripts/dump_zmq_core_structs.py
    
    Added a zmq_recv command to receive data from a zmq stream and publish it to a local mbuf.
    
    Adding a new c userspace interface to the mbuf shared memory.
    
    git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4650 6dcd42c9-f523-4c6d-aada-af552506706e
    ded4a9f9
    History
    Added daqd_shmem
    Jonathan Hanks authored
    daqd_shmem is similar to a standiop.  However it reads data from one combined shared memory segment, does not require a timer or adc card.
    
    Updates to the fe_stream_test to put data in the proper places.
    
    Additional test scripts and commands to help manipulate and introspect mbuf memory buffers.
    src/drv/mbuf/mbuf_probe
    src/zmq_stream/scripts/dump_zmq_core_structs.py
    
    Added a zmq_recv command to receive data from a zmq stream and publish it to a local mbuf.
    
    Adding a new c userspace interface to the mbuf shared memory.
    
    git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4650 6dcd42c9-f523-4c6d-aada-af552506706e
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
config.h.cmake 2.82 KiB
#ifndef CONFIG_H
#define CONFIG_H

#cmakedefine HAVE_FCHDIR

#cmakedefine HAVE_MEMCPY

#cmakedefine HAVE_STRCHR

#cmakedefine HAVE_ERRNO_H

#cmakedefine HAVE_FCNTL_H

#cmakedefine HAVE_STDIO_H

#cmakedefine HAVE_STDLIB_H

#cmakedefine HAVE_STRING_H

#cmakedefine HAVE_SYS_TYPES_H

#cmakedefine HAVE_UNISTD_H

#cmakedefine HAVE_REGEXP_H

#cmakedefine HAVE_REGEX_H

#cmakedefine HAVE_CSTDATOMIC

#cmakedefine HAVE_ATOMIC

#cmakedefine FLEX_USES_IOSTREAM_REF

/* FW build settings */
#ifdef DAQD_BUILD_FW

    /* do not broadcast data */
    #define NO_BROADCAST 1
    /* run an edcu */
    #define EPICS_EDCU 1
    /* receive broadcasts */
    #define USE_BROADCAST

#endif

/* DC build settings */
#ifdef DAQD_BUILD_DC

    #define DATA_CONCENTRATOR 1
    /* Using Symmetricom GPS card */
    #define USE_SYMMETRICOM 1
    /* Define if building with MX */
    #define USE_MX 1
    /* run an ecdu */
    #define EPICS_EDCU 1
    /* Interface with the GDS Testpoint server */
    #define GDS_TESTPOINTS 1

#endif

/* DC build settings */
#ifdef DAQD_BUILD_DC_ZMQ

    #define DATA_CONCENTRATOR 1
    /* Using Symmetricom GPS card */
    #define USE_SYMMETRICOM 1
    /* run an ecdu */
    #define EPICS_EDCU 1
    /* Interface with the GDS Testpoint server */
    #define GDS_TESTPOINTS 1

#endif

/* Generic daqd with shmem interface (new standiop) */
#ifdef DAQD_BUILD_SHMEM

    #define DATA_CONCENTRATOR 1
    /* Using Symmetricom GPS card */
    #define USE_SYMMETRICOM 1
    /* run an ecdu */
    #define EPICS_EDCU 1
    /* Interface with the GDS Testpoint server */
    #define GDS_TESTPOINTS 1

#endif

/* MX SYMM build settings */
#ifdef DAQD_BUILD_MXSYMM

    /* Interface with the GDS Testpoint server */
    #define GDS_TESTPOINTS 1
    /* do not broadcast data */
    #define NO_BROADCAST 1
    /* run an ecdu */
    #define EPICS_EDCU 1
    /* Using Symmetricom GPS card */
    #define USE_SYMMETRICOM 1
    /* Use MX */
    #define USE_MX 1

#endif

/* RCV build settings */
#ifdef DAQD_BUILD_RCV

    /* Interface with the GDS Testpoint server */
    #define GDS_TESTPOINTS 1
    /* do not broadcast data */
    #define NO_BROADCAST 1
    /* run an ecdu */
    #define EPICS_EDCU 1
    /* receive broadcasts */
    #define USE_BROADCAST

#endif

/* BCST build settings */
#ifdef DAQD_BUILD_BCST

    /* Interface with the GDS Testpoint server */
    #define GDS_TESTPOINTS 1
    /* run an edcu */
    #define EPICS_EDCU 1
    /* receive broadcasts */
    #define USE_BROADCAST

#endif

/* StandIOP build settings */
#ifdef DAQD_BUILD_STANDIOP

    /* Interface with the GPS Testpoint server */
    #define GDS_TESTPOINTS 1
    /* do not broadcast data */
    #define NO_BROADCAST 1
    /* run an edcu */
    #define EPICS_EDCU 1
    /* use the symmetricom timing system */
    #define USE_SYMMETRICOM 1
    /* use an iop */
    #define USE_IOP 1

#endif

#endif /* CONFIG_H */