fscadac version 23060100
Tool to set and/or read back GBT-SCA DAC outputs,
all at the same time or a single one (option -i).
In addition it can do a sweep through the DAC range
for one or all DAC outputs (option -s)
within a configurable time period (option -t).
Usage:
 fscadac [-h|V] [-d <devnr>] [-e <elink>] [-G <lnk>] [-g <group>] [-p <path>]
         [-i <index>] [-s] [-t <ms>] [-C] [-R] [-D] [-E] [-Z] [-H] [<value>]
  -h         : Show this help text.
  -V         : Show version.
  -d <devnr> : FLX-device to use (default: 0).
  -e <elink> : E-link number (hex) or use -G/g/p options.
  -G <lnk>   : GBT-link number (default: 0).
  -g <group> : Group number (default matches GBT EC 'group' = 7).
  -p <path>  : E-path number (default matches GBT EC 'path' = 7).
  -i <index> : DAC index (0=DAC_A,1=DAC_B,2=DAC_C,3=DAC_D) to use (default: all).
  -s         : Sweep DAC value for the given DAC output(s).
  -S         : As -s, but send all DAC commands in one DMA operation,
               using delay packets instead of usleep().
  -t <ms>    : Sweep time from DAC value 0 to 255, in milliseconds,
               when option -s given (default: 1000).
  -C         : Send GBT-SCA connect (HDLC control).
  -R         : Send GBT-SCA reset (HDLC control).
  -Z         : Do not receive and display the GBT-SCA replies.
  -H         : Do not use HDLC delay packet, even if firmware supports it,
               use zero-byte packets (in combination with -S).
  -D         : Disable GBT-SCA DAC after operation (default: leave enabled)
  -E         : Do *not* enable GBT-SCA DAC at start of operation, assume it already is.
 <value>     : DAC value (decimal or hex, 0x.. or x..) to set.
