Personal tools
You are here: Home Exp Spec Info musr camp_directories.html

camp_directories.html

by admin last modified Apr 17, 2007 12:23 PM


Contents of CAMP directories on the host


Introduction

The MVME 162 CAMP board (running VxWorks)  needs to access the directories /camp and /campnode on the linux host. These directories must be nfs-mounted from the host.

For MUSR, the  main camp directory is ~musrdaq/musr/camp, so the relevent nfs-mount commands in the VxWorks startup file might be for CAMP host "devvw":

nfsMount boothost, "/home/musrdaq/musr/camp", "/camp"
nfsMount boothost, "/home/musrdaq/musr/camp/devvw", "/campnode"
 

CVS is used to keep the CAMP files common to all nodes up-to-date on each host. Generally, developments are made on dasdevpc, then the changes committed to CVS. Presently, other nodes are updated using the CVS update command.

Contents of standard camp directories :

Note that the master copies of these directories are stored under CVS. These files are common to all MUSR CAMP nodes. If changes are necessary,  make the changes on dasdevpc, and make sure the change is committed to CVS.
  • /camp/dat

  •  

     

    This directory (read-only) must contain the standard files camp.ini and calibration files *.spl.
    NOTE: camp.ini is only read by the VxWorks host at bootup, and contains a list of known CAMP devices. If it can't find camp.ini, you can't configure any devices.
     

  • /camp/drv

  •  

     

    This read-only directory contains the standard TCL files for the drivers.

Contents of node-specific directories:

Node-specific directories contain files relevent to that particular beamline. They are NOT stored under CVS.
  • /campnode/cfg

  •  

     

    This directory is writeable by the camp server campnode. It contains files of the form camp_ins*.ini and camp*.cfg.
     

  • /campnode/log

  •  

     

    The log file camp_srv.log resides here.

Document Actions