MIDAS software installation

Installation of MIDAS Data Acquisition application package for Motorola LynxOS

Last updated on Jan 30 2005

MIDAS Data Acquisition specific start-up script

Install this script as /MIDAS/LynxOS_MCG/3.1.0/startup/[vme system]


#!/bin/bash
#
# startup script for station ???
#
echo starting `uname -n` ...
#
TMPPATH=$PATH
#
[ ! -f /.generic_has_been_run ] && /MIDAS/LynxOS_MCG/$release/startup/generic
#
# add target specific startup here
#
export PATH=/MIDAS/LynxOS_MCG/$release/bin:${PATH}
#
UM=`umask`
umask 0
#    install VME int driver 
#       The following command should be removed if the VME interrupt driver has
#       already been installed in  /MIDAS/LynxOS_MCG/$release/startup/setup/insttab
dynaminst -v /MIDAS/LynxOS_MCG/$release/startup/setup/insttab-vmeint
#
# start the message logger dispatcher
loggerd
#
#
vmeers 0 vme
source /MIDAS/config/VME/NetVarDefn.LynxOS
source /MIDAS/config/VME/NetVarRegDefn
#
# start spectrum server:
#
memsas
#
#    load main data acquisition program
#    define netints 
#
#      If writing to tape remove the comment character (#) at the start of the 
#      next command and insert the name or IP address of the tape server system
#
#netstring TS_Server "tape_server_name"
#
#    The buffer size here must match the buffer size declared in the MIDAS Tape Server configuration
#
netint Output_BufferSize 32
netint Xfer_Option 3
netint Format_Option 3
#
netint Xfer_Overlap 1
netint Xfer_Priority 1
#
cd /MIDAS/Data_Acq/bin/LynxOS_MCG/$release
./ExecV1
#
nice ./MIDASExecV1
#
umask $UM
#
echo ... `uname -n` startup complete
#

 return to MIDAS download home page