---+ The DIO Server

Nothing here yet... please fill in.

Connecting to the DIO Server with Telescope Control Software

Nothing here yet... please fill in.

DIOToAscii Client for Writing DIO Data to Ascii Files

The C++ program DIOToAscii connects to the DIO daemon through TCP and writes out the data as a column-wise ascii table.

Usage:

   MuxReadoutSoftware/DIOUtils/DIOToAscii-R2 -h localhost -A acdata.txt -D dcdata.txt -n 1000
   
This command connects to the daemon which is located on computer with IP address localhost and streams exactly 1000 data samples to the datafiles acdata.txt and dcdata.txt. The two files will contain the AC bolometer data and the DC squid data respectively.

DirfileWriter Client for Writing DIO Data to KST dirfiles

The C++ program MuxReadoutSoftware/DirfileWriter connects to the DIO daemon through TCP and writes out the data as binary files in the KST format known as "dirfiles", which are essentially a directory containing binary files with one separate file per column of data. A file called format is also created wherein the number format of each file is recorded as plain ascii text.

You can find out about all options available for the DirFileWriter using the -u option:

$ ./DirfileWriter -u
Usage: DirfileWriter [OPTION...]
  -u, --Usage                      Print this help message
  -f, --ChannelList=<Filename>     Specifies a file to read for which
                                   bolometers to read out
  -d, --dest=<DirFileName>         Name of the dirfile to create (default:
                                   "fMUX-2007-02-10T23:05:00.8767UTC")
  -c, --cutoffFreq=<Hz>            -6dB cutoff frequency for the digital
                                   filter (default: 37)
  --ntaps=<tapcount>               Number of samples ("taps") in the filter
                                   kernel (default: 129)
  -n=<nsamples>                    Number of samples to record (-1 ->
                                   unlimited) (default: -1)
  --samplePeriod=<ms>              Time Period between subsampled data points
                                   (default: 10)
  --buffer=<samples>               The number of samples to buffer in RAM to
                                   buffer before writing to disk (default: 100)
   

To invoke the DirFileWriter, do

./DirfileWriter -d dataout.dat -n 1000
   
which would record 1000 samples from all data channels.

-- MattDobbs - 01 Mar 2007


This topic: AnalogFMux > WebHome > FMuxSoftwareGuide > SWDigitalIO Topic revision: r2 - 2007-09-29 - WinterlandUser
© 2020 Winterland Cosmology Lab, McGill University, Montréal, Québec, Canada