fdaq version 22020100
Stream data from FLX-device to file(s). Whenever the set maximum file size
is exceeded a new file is created. Every second a status line
with data rates, data totals and memory buffer status is displayed.
(NB: if no filename is provided all data is consumed while checking the data blocks,
     i.e. blockheader and (sub)chunk trailers; chunk truncation and error counts are reported.)

Usage: fdaq [-h|V] [-D] [-d <devnr>] [-b <size>] [-e|E] [-f <size>]
            [-i <dma>] [-I] [-r <runnr>] [-t <secs>] [-n] [-C] [-R] [-T] [-X] [-o] [-x <kbyte>]
            [<filename-base>]
  -h         : Show this help text.
  -V         : Show version.
  -C         : Do *not* check for presence of data chunk CRC errors (when not writing to file).
  -D         : Debug mode on, i.e. output some additional info;
               continue when memory buffer overflows.
  -d <devnr> : FLX-device to use (default: 0).
  -b <size>  : DMA (cmem_rcc) memory buffer size to use, in MB (default 1024, max 32768).
  -e|E       : Enable FLX-device data generator, internal (e) or
               external (E) (default: false).
  -f <size>  : Maximum file size, in MB (default 4096, max 16384).
  -i <dma>   : FLX-device DMA controller to use (default: 0).
  -I         : use interrupt to receive data (default: polling)
  -n         : Display chunk count per e-link
               (when exiting, when not writing to file).
  -o         : Display status output not in columns (but line-by-line).
  -r <runnr> : Run number to use in file names (default: none).
  -R         : Reset DMA at startup (default: 'soft reset' only).
  -t <secs>  : Number of seconds to do acquisition (default: 1).
  -T         : Do NOT add datetime as part of file names.
  -X         : Stream data from individual e-links to separate files (default: false).
  -x <kbyte> : Set size of FLX-device unit data block, in KByte
               (forced; normally read from FLX-device itself).
 <filename-base>: Name to be combined with datetime+runnumber+counter of files created
                  (unless option -T is given)
