x86_64-centos7-gcc11-opt/felix-star/felix-toflx2file --help 
felix-toflx2file - FELIX central data acquisition application

    Usage:
      felix-toflx2file [options --tag=TAG...] FILE

    General Options:
        --bus-dir=DIRECTORY         Write felix-bus information to this directory. [default: ./bus]
        --bus-groupname=NAME        Use this groupname for the bus. [default: FELIX]
        --cid=N                     CID (Connector Id) to set in FID (Felix ID), incompatible with --co. [default: device]
        --co=N                      CO (Connector Offset) to offset FID (Felix ID), incompatible with --did and --cid.
        --did=N                     DID (Detector Id) to set in FID (Felix ID), incompatible with --co. [default: 0]
    -d, --device=DEVICE             Use FLX device DEVICE. [default: 0]
        --error-out=FIFO            Write error information to a UNIX FIFO
        --free-cmem                 Free previously booked cmem segment by name-<device>-<dma>
        --iface=IFACE               Send data to the interface. [calculated: use --ip value]
    -i, --ip=IP                     Publish data on the ip address IP. [default: libfabric:127.0.0.1]
    -b, --netio-pagesize=SIZE       NetIO page size in Byte. [default: 65536]
    -B, --netio-pages=SIZE          Number of NetIO pages. [default: 256]
        --stats-out=FIFO            Write periodic statistics data to a UNIX FIFO
        --stats-period=ms           Period in milliseconds for statistics dumps. [default: 1000]
    -?, --help                      Give this help list
    -v, --verbose                   Produce verbose output
    -V, --version                   Print program version
        --vid=N                     VID (Version Id) to set in FID (Felix ID), incompatible with --co. [default: 1]
    -w, --netio-watermark=SIZE      NetIO watermark in Byte. [default: 57344]

    ToFlx Options:
        --netio-buffersize=SIZE     NetIO receive buffer size in byte; maximum size for a single message. [default: 65536]
        --netio-buffers=SIZE        Number of NetIO receive buffers. [default: 256]
    -c, --cmem=SIZE                 CMEM buffer size in MB. [default: 20]
    -D, --dma=ID                    Use DMA descriptor ID. [calculated: highest dma]
    -m, --cdma                      Use circular DMA buffer instead of one-shot
    -p, --port=PORT                 Send data to port PORT. [calculated: 53200 + 10*device + dma]
    -r, --rawtcp                    Use raw tcp not libfabric (can be used with --unbuffered)
        --stats-stdout              Prints stats to stdout
    -u, --unbuffered                Use unbuffered mode

    File Options:
        --no-of-tags=SIZE           Read no of tags starting at --tag (elink) from file. [default: 1]
        --regmap=hex_version        Register map version. [calculated: from compile definition of REGMAP_VERSION]
    -t, --tag=TAG                   Read tag (elink) from file. This option may be used multiple times (2048 max).
        --vmem                      Use virtual memory instead of cmem.

    ToFlxToFile Options:
        --raw                       Write raw (binary) file istean of json

Report bugs to <https://its.cern.ch/jira/projects/FLXUSERS>.

