Usage: felix-toflx2file [OPTION...] FILE
Host-to-Felix communication application (DCS)

  -b, --netio-buffersize=SIZE   NetIO receive buffer size in byte; maximum size
                             for a single message. Default: 64kB
      --bus-dir=DIRECTORY    Write felix-bus information to this directory.
                             Default: ./bus
      --bus-groupname=NAME   Use this groupname for the bus. Default: FELIX
  -B, --netio-buffers=SIZE   Number of NetIO receive buffers. Default: 256
  -c, --cmem=SIZE            CMEM buffer size in MB. Default: 16
      --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.
  -d, --device=DEVICE        Use FLX device DEVICE. Default: 0
      --did=N                DID (Detector Id) to set in FID (Felix ID),
                             incompatible with --co. Default: 0
  -D, --dma=ID               Use DMA descriptior ID. Default: highest dma
      --error-out=FIFO       Write error information to a UNIX FIFO
      --free-cmem            Free previously booked cmem segment by
                             name-<device>-<dma>
  -i, --ip=IP                Send data to the ip address IP. Default: localhost
                            
      --iface=IFACE          Send data to the interface. Default: use ip value
  -m, --cdma                 Use circular DMA buffer. Default: one-shot
      --no-of-tags=SIZE      Enable no of tags starting at --tag (elink).
                             [default: 1]
  -p, --port=PORT            Send data to port PORT. Default: 53200 + 10*device
                             + dma
      --raw                  Write raw (binary) file. [default: json]
      --regmap=hex_version   Register map version. Default: 0x0400
      --stats-out=FIFO       Write periodic statistics data to a UNIX FIFO:
                             path to fifo. Default: disabled
      --stats-period=MS      Period in milliseconds for statistics dumps.
                             Default: 1000
      --stats-stdout         Prints stats to stdout. Default: false
  -t, --tag=TAG              Enable tag (elink). This option may be used
                             multiple times (2048 max).
  -u, --unbuffered           Use unbuffered mode
  -v, --verbose              Produce verbose output
      --vid=N                VID (Version Id) to set in FID (Felix ID),
                             incompatible with --co. Default: 1
      --vmem                 Use virtual memory. [default: cmem]
  -w, --netio-watermark=SIZE NetIO receive watermark size in byte; start of
                             flush. Default: 56kB
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

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