AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  AIDA  ELOG logo
Message ID: 199     Entry time: Tue May 3 08:37:50 2016
Author: TD 
Subject: MIDAS updates 
MIDAS updated per instructions of VFEP (I append the new and old versions of startup.tcl and aidacommon)

I have generated the AIDA update for V8 as 2 tarballs.

These are accessed using    http://npg.dl.ac.uk/MIDAS/MIDAS_Release/

The files you want are the 3th and 4th

http://npg.dl.ac.uk/MIDAS/MIDAS_Release/AIDAExecV8_Update240416.tgz
http://npg.dl.ac.uk/MIDAS/MIDAS_Release/AIDA_Update240416.tgz

The AIDAExecV8...    is just the data acq program
and AIDA_Update...     is all the  Html/tcl  updates

for information here are the commands I Used to create

tar -zcf  AIDA_Update240416.tgz TclHttpd/Html/AIDA TclHttpd/Html/DataAcquisitionControl TclHttpd/Html/Spectrum
TclHttpd/Html/RunControl TclHttpd/Html/MERGE TclHttpd/tcl/Common SOAP/tcl/SpectrumClient.tcl
tar -zcf  AIDAExecV8_Update240416.tgz Data_Acq/bin/linux-ppc_4xx/AidaExecV8


 JUst click on the name and  select   Save  


 to install

first move existing files which you will replace out of the way

cd /MIDAS
mv TclHttpd/Html/AIDA TclHttpd/Html/AIDA_BAK
mv TclHttpd/Html/DataAcquisitionControl TclHttpd/Html/DataAcquisitionControl_BAK
mv TclHttpd/Html/Spectrum TclHttpd/Html/Spectrum_BAK
mv TclHttpd/Html/RunControl  TclHttpd/Html/RunControl_BAK
mv TclHttpd/Html/MERGE TclHttpd/Html/MERGE_BAK
mv TclHttpd/tcl/Common TclHttpd/tcl/Common_BAK
mv SOAP/tcl/SpectrumClient.tcl SOAP/tcl/SpectrumClient.tcl_BAK


now install the updates
the    *********   is where you saved the tarballs to  
  possibly    ~/Downloads/



cd /MIDAS
tar -zxf *********AIDA_Update240416.tgz
tar -zxf *********AIDAExecV8_Update240416.tgz


 THis will install the updates.


I attach the  startup.tcl  file used for the TclHttpd  (/MIDAS/config/TclHttpd/aidas1/)
 The important bit is adding    set DataTransferStreams 2


and the file  (aidacommon) used for starting the data acq programs   (/MIDAS/linux-ppc_4xx/startup)
  Change V7  to V8





Vic
Attachment 1: startup.tcl  3 kB  | Show | Hide all | Show all
Attachment 2: startup.tcl.BAK-030516  3 kB  | Show | Hide all | Show all
Attachment 3: aidacommon  959 Bytes  | Hide | Hide all | Show all
#!/bin/bash
#
    UM=`umask`
    umask 0
#

     cd /MIDAS/linux-ppc_4xx/drivers/spi/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/xaida/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/aidamem/module
     ./load
     sleep 5

   MIDAS_MEMSAS_PORT=0
   export MIDAS_MEMSAS_PORT

export PATH=/MIDAS/linux-ppc_4xx/bin:${PATH}
export LD_LIBRARY_PATH=/MIDAS/linux-ppc_4xx/lib:${LD_LIBRARY_PATH}

    /MIDAS/TclHttpd/linux-ppc_4xx/TclHttpd-server&
     sleep 10

     cd /MIDAS/linux-ppc_4xx/bin

#
#    define netints and access registers
#

    netint Output_BufferSize 64
    netint Format_Option 4
    netint Xfer_Option 3

    netint Xfer_NoBlock 0
    netint Xfer_Overlap 0
    netint Xfer_Priority 0

    netint DACQ_TxInit 1
    netint DACQ_StatsTime 5
    netint DACQ_PushEnable 60
    netint DACQ_FlushEnable 60

    cd /MIDAS/Data_Acq/bin/linux-ppc_4xx
#    ./ExecV1
    nice ./AidaExecV8
#
    umask $UM
#

Attachment 4: aidacommon.BAK-030516  962 Bytes  | Hide | Hide all | Show all
#!/bin/bash
#
    UM=`umask`
    umask 0
#

     cd /MIDAS/linux-ppc_4xx/drivers/spi/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/xaida/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/aidamem/module
     ./load
     sleep 5

   MIDAS_MEMSAS_PORT=0
   export MIDAS_MEMSAS_PORT

export PATH=/MIDAS/linux-ppc_4xx/bin:${PATH}
export LD_LIBRARY_PATH=/MIDAS/linux-ppc_4xx/lib:${LD_LIBRARY_PATH}

    /MIDAS/TclHttpd/linux-ppc_4xx/TclHttpd-server&
     sleep 10

     cd /MIDAS/linux-ppc_4xx/bin

#
#    define netints and access registers
#

    netint Output_BufferSize 64
    netint Format_Option 4
    netint Xfer_Option 3

    netint Xfer_NoBlock 0
    netint Xfer_Overlap 0
    netint Xfer_Priority 0

    netint DACQ_TxInit 1
    netint DACQ_StatsTime 5
    netint DACQ_PushEnable 60
    netint DACQ_FlushEnable 60

    cd /MIDAS/Data_Acq/bin/linux-ppc_4xx
#    ./ExecV1
    nice ./AidaExecV7 xxx
#
    umask $UM
#
ELOG V3.1.4-unknown