fscaadc version 26040900
Tool to read GBT-SCA ADC input channels and display the readings.
Usage:
 fscaadc -h|V -d<devnr> -D<dma> -e<elink> -G<lnk> -g<group> -p<path> -c<msk>
         -i<index> -n<kohm> -r<cnt> -t<us> -1 -C -A -E -R -X -Z
  -h         : Show this help text.
  -V         : Show version.
  -d <devnr> : FLX-device to use (default: 0).
  -D <dma>   : DMA controller number for receiving (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).
  -1         : (one) Use SCA-V1 ADC commands (default: SCA-V2 ADC).
  -c <mask>  : Enable current sources on the ADC inputs in bitmask <mask>
               (disabled again afterwards).
  -i <index> : Conversion of ADC input <index> only (default: all 32 inputs consecutively).
  -n <kohm>  : NTC reference resistance value in KOhm;
               for ADC inputs with current source enabled (option -c)
               a temperature in Celcius is now calculated assuming they have such NTCs connected.
  -r <cnt>   : Number of times to convert ADC input or inputs (default: 1).
  -t <us>    : Microseconds between ADC conversions (default: 200).
  -C         : Send GBT-SCA connect (HDLC control).
  -R         : Send GBT-SCA reset (HDLC control).
  -A         : Disable GBT-SCA ADC after operation (default: leave enabled)
  -E         : Do *not* enable GBT-SCA ADC at start of operation, assume it already is.
  -X         : Use single-shot DMA for upload (default: continuous).
  -Z         : Do not receive and display the GBT-SCA replies.
