[0] Directory structure after the installation
   [your directory]/
        scopeman    : this direcotyr
	vxi11-mater : vxi11 directory
	vxi11       : symbolic link of vxi11-master/library

[1] common procedure for scopeman, wfmCapture2Root and wfmCapture2Ascii
1. vxi11 libraray
   Download vxi11 libraray
   from https://github.com/applied-optics/vxi11
   linked from http://optics.eee.nottingham.ac.uk/vxi11/
   When the zip file was  downloaded, 
   place vxi11-master at [your directory] and make a symbolic link.
   $ ln -s ./vxi11-master/library ./vxi11

2. Extract this package
   Extract scopeman in the same directory [your directory] as the vxi11.
   $ tar xvzf scopeman.tgz
   Then you have directoris, 
      scopeman, vxi11-mater, vxi11(sympblic link)

3. Compile vxi11
   (0) Only for MAC OS, apply patch, otherwise skip.
   $ cd scopeman
   $ patch -b -p1 -d ../vxi11-master < vxi11_macos.patch 
   $ cd ..

   (1) Compile vxi11
   $ cd ./vxi11-master/
   $ make
   $ cd ..
   # Ignore several warnings

[2] scopeman
1. readline and ncurses
   For example in ubuntu,
   sudo apt-get install libncurses5-dev
   sudo apt-get install libreadline6-dev
   For example in mac os
   port install readline
   port install ncurses
   (home brew doesn't work well) 

2. Compile after prepartion of [1]
   (1) Compile scopeman and dump
   $ cd scopeman
   $ make scopeman
   # Then you have scopeman
   $ make dump
   # Then you have a dump program for the waveform

3. How to run
   ./scopeman [ip of the tektornix oscillosocpe]
    Then you can type "help" in the prompot to see how to use.

4. Comment on GETIMG
   You need a viewer of png files.
   The "display" command is assigned in the scopeman.cc
   You may change the command by editting the source code.
   The name of the image file stored in the oscilloscope 
   is assumed to be "image.png" or "Image.png".
   You may change it by editing the source code.
 

[3] wfm2Capture2Root
1. ROOT
   CERN ROOT library is required and make sure root-config is functioning

2. Compile after prepartion of [1]
   (1) Compile wfm2Capture2Root
   $ cd scopeman
   $ make wfmCapture2Root
   # Then you have wfmCapture2Root

3. How to run
   ./wfmCapture2Root [ip of the tektornix oscillosocpe] [# of waveforms] [channelAssing] [output file name]
   if # of waveforms is 0 or negative, infinite loop is on.
   output file should be a CERN root file.


[4] wfm2Capture2Ascii
1. Compile after prepartion of [1]
   (1) Compile wfm2Capture2Root
   $ cd scopeman
   $ make wfmCapture2Ascii
   # Then you have wfmCapture2Ascii

2. How to run
   ./wfmCapture2Ascii [ip of the tektornix oscillosocpe] [# of waveforms] [channelAssing] [output file name]
   if # of waveforms is 0 or negative, infinite loop is on.
   output file is an ascii file.


[4] All binaries
After all the necessary preparations in each items
   $ make


