camp directories contents
Contents of CAMP directories
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
- /camp/drv
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.
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
- /campnode/log
This directory is writeable by the camp server campnode. It
contains
files of the form camp_ins*.ini and camp*.cfg.
The log file camp_srv.log resides here.