#!/bin/sh
# Sample configuration file for the Capacisense server program (CSserver)
# CSserver accepts the following arguments:
#   0..9
#     The serial port number to which the rack is connected (if omitted, assumes simulated rack)
#  -s 
#     Simulated data acquisition (no A/D) server
#  -v
#     Verbose operation
#  -l
#     Assumes a legacy (long osc timeouts) rack controller
#  -m#
#     Multiplexes the response from a single rack channel to all 12 rack slots. Can be used to
#     create a "fake" fully populated 12 channel system using only one installed demodulator.
#  -f cfgfile role rawfile
#     Uses the server's data processor to reprocess a Capacisense raw file. First argument is the
#     configuration to use, second is the daq server index within that configuration and the third
#     argument is the data file. Add 1000 to the daq server index for continuous file replay (rewind
#     at end) and network services. This allows file replay to be monitored by a client.
# The system startup script (/etc/init.d/CSserver.sh) starts the server with the "-v 0" arguments by
# default. This can be overridden by copying this file as /etc/cpm/config and changing the value of
# the SERVERARGS variable. Examples:
# SERVERARGS="-v"
# SERVERARGS="-s -v"
# SERVERARGS="-v 2"
# etc...
SERVERARGS="-v 0"
