Software Installation

In these instructions replace [MIDASBASE] with the base of your software installation (default is /MIDAS). Set the environment variable MIDASBASE to [MIDASBASE].

See the document Installation of the MIDAS Web Services applications which contains full information for downloading and installating the various software services

For the basic data acquisition software you will need to download and install the MIDAS Web Service core plus the Web and DataBase services. A suitable startup script for the TclHttpd software would be



   Setting BGColor "BlanchedAlmond"
   Setting TextColor "red"

      Setting ProjectName  "VME Demonstration Project"

  Setting Option1Name STFC
  Setting Option1URL  "stfc.ac.uk"
  Setting Option1Image stfc.jpg


#    Install CAEN USB/PCI VME Bridge plugin

    package require CAENVx718

#    Install VME access service

namespace eval VMEConfig {
   variable ConfigBase
   set ConfigBase [file join $env(MIDASBASE) config TclHttpd MYEXPERIMENT]
   
   variable ModuleMenu
set ModuleMenu {CAEN_V1740 CAEN_V1742}

   variable NumModules
   set NumModules 0
}

   package require VMEAccessServer

    upvar #0 VMEAccessServer_DBRootName RootName
    upvar #0 VMEAccessServer_DBNodeBase NodeBase

    set RootName EXPERIMENTS/MYEXPERIMENT
    set NodeBase 2011

    Setting DataBaseRoot [file join $env(MIDASBASE) DB]

    package require DataBaseAccessServer



  Setting Option5Name "Server Software Home Page"
  Setting Option5URL  "http://npg.dl.ac.uk/MIDAS/download/WebServices.html"

which includes control for the CAEN V1740 and V1742 digitizers.

However see for details of all options and modules supported which is increasing all the time.

Run the command [MIDASBASE]/TclHttpd/Linux/TclHttpd-server

You should see output like

System identified is CPU x86_64; Platform is unix; OS is Linux and Version is 2.6.18-128.1.6.el5xen
Environment selected is CPU x64_64; Platform unix and OS Linux64
can't find package limit
Running with default file descriptor limit
/debug user "debug" password "+t=u0y3gt6m5"
httpd started on port 8015
secure httpd started on SSL port 8016

Cannot use /MIDAS/config/TclHttpd/nnsv/startup.tcl
Cannot use /MIDAS/config/TclHttpd/localhost/startup.tcl
CAENVME software release 2.22
/VMEAccessServer
/DataBaseAccessServer
Completed custom startup from /MIDAS/config/TclHttpd/startup.tcl

Finally use a Web Browser to contact the URL http://[myhost]:8015 where [myhost] is the network name of the system on which you have installed the software (this could be localhost).

V Pucknell; STFC; Daresbury Lab   updated 7 December 2011