MIDAS software installation
Installation of MIDAS Prisma application package for Motorola LynxOS
Last updated on Nov 12 2002
Prisma specific start-up script This is valid for all applications reading VXI data using the D2VB module
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
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
source /MIDAS/config/VXI/GroupDefn.LynxOS
#
# load main data acquisition program
# define netints and access registers
# supply (non default) options
#
#netstring TS_Server "nnts"
#
netint X2VB_BufferSize 64
netint Output_BufferSize 16
# options 3/3 (MIDAS)
netint Format_Option 3
netint Xfer_Option 3
#
netint X2VB_IgnoreNullEvents 1
netint DACQ_StatsTime 5
#
cd /MIDAS/Data_Acq/bin/LynxOS_MCG/$release/TCP/
nice ./VXIExecV11
#
umask $UM
#
echo ... `uname -n` startup complete
#