GUI, Scripts And Analysis Code

From HELIOS Digital DAQ
Revision as of 19:03, October 16, 2016 by Crhoffman (talk | contribs)
Jump to navigation Jump to search

Starting ACQ Control

heliosCommander

#!/bin/bash -l
runEdm() {
 export EDMOBJECTS=/global/devel/extensions/dgs1/src/edm/setup
 export EDMHELPFILES=/global/devel/extensions/dgs1/src/edm/helpFiles
 export EDMBASE=/global/devel/extensions/dgs1/src/edm
 export EDM=/global/devel/extensions/dgs1/src/edm/edmMain/O.linux-x86/edm
 export EDMPVOBJECTS=/global/devel/extensions/dgs1/src/edm/setup
 export EDMFILES=/global/devel/extensions/dgs1/src/edm/setup
 export EDMDATAFILES=$EDMDATAFILES:/global/devel/systems/helios/edm/screens
 export EDMDATAFILES=$EDMDATAFILES:/global/devel/systems/edm/screens
 export EDMSCRIPTS=/global/devel/systems/helios/edm/scripts
#  echo "export EDMDATAFILES=$EDMDATAFILES"
 $EDM -x -noedit HELIOSrunControl &
# echo "Edits are possible in this mode."
}
runEdm

All of these exports could (and should be placed in the .bashrc file).

HELIOSrunControl is a call to the main edm gui screen located in /global/devel/systems/helios/edm/scripts. This script should be modified to host more information than it currently does.

EDM Window List

Before modifying things, lets try to document things. Below is a list (and possible a diagram in the future) to find the EDM windows in use (10/2016 - CRH)

/helios/edm/screens
-rw-rw-r--. 1 dgs dgs 14325 May 13  2015 acqStatus.edl
-rw-rw-r--. 1 dgs dgs  6968 May 13  2015 B_Leds.edl
-rw-rw-r--. 1 dgs dgs 21007 May 13  2015 counterRates.edl
-rw-rw-r--. 1 dgs dgs 14018 May 13  2015 DGSchannel.edl
-rw-rw-r--. 1 dgs dgs 14737 May 13  2015 dgsSender.edl
-rw-rw-r--. 1 dgs dgs  6997 May 13  2015 Dig_D2Win.edl
-rw-rw-r--. 1 dgs dgs  6986 May 13  2015 Dig_DWin.edl
-rw-rw-r--. 1 dgs dgs 23702 May 13  2015 DigEnable.edl
-rw-rw-r--. 1 dgs dgs  6986 May 13  2015 Dig_KWin.edl
-rw-rw-r--. 1 dgs dgs  6967 May 13  2015 Dig_LEDS.edl
-rw-rw-r--. 1 dgs dgs  6986 May 13  2015 Dig_MWin.edl
-rw-rw-r--. 1 dgs dgs 16405 May 13  2015 eventRates.edl
-rw-rw-r--. 1 dgs dgs 11144 Jun  3  2015 globalControl.edl
-rw-rw-r--. 1 dgs dgs 25726 May 13  2015 gretBoard.edl
-rw-rw-r--. 1 dgs dgs 22862 May 13  2015 gretGlobal.edl
-rw-rw-r--. 1 dgs dgs 14737 May 13  2015 gretSender.edl
-rw-rw-r--. 1 dgs dgs  7612 Jun 23  2015 heliosCommanderNew.edl
-rw-rw-r--. 1 dgs dgs 69850 Jul 21 14:15 heliosCounterRates.edl
-rw-rw-r--. 1 dgs dgs  9460 Jul 21 14:38 heliosDigEnable.edl
-rw-rw-r--. 1 dgs dgs 15174 Jul 21 14:33 heliosLiveTS.edl
-rw-rw-r--. 1 dgs dgs  7840 Oct 14 23:43 HELIOSrunControl.edl
-rw-rw-r--. 1 dgs dgs 50345 Jul 21 14:41 heliosTrigCntrl.edl
-rw-rw-r--. 1 dgs dgs 51122 Jul 21 14:22 heliosTrigLock.edl
-rw-rw-r--. 1 dgs dgs  3796 May 13  2015 IOC1.edl
-rw-rw-r--. 1 dgs dgs  6571 May 13  2015 IOC.edl
-rw-rw-r--. 1 dgs dgs  8946 May 13  2015 iocStatus1.edl
-rw-rw-r--. 1 dgs dgs 19626 May 13  2015 iocStatus2.edl
-rw-rw-r--. 1 dgs dgs 16101 May 13  2015 iocStatus3.edl
-rw-rw-r--. 1 dgs dgs 19626 May 13  2015 iocStatus.edl
-rw-rw-r--. 1 dgs dgs 24803 May 13  2015 mobBoard.edl
-rw-rw-r--. 1 dgs dgs 13373 May 13  2015 mobChannel.edl
-rw-rw-r--. 1 dgs dgs  3373 Jun 22  2015 mobIOC.edl
-rw-rw-r--. 1 dgs dgs  4317 Jun 23  2015 runControl.edl
-rw-rw-r--. 1 dgs dgs  3151 May 13  2015 Trace.edl 
/edm/screens
acqStatus.edl	      dgsDigRegisters.edl    FMArunControl.edl
analog_gs.edl	      dgs_EBTS.edl	     fmaTrigLock2.edl
AuxIO_Ctl.edl	      dgs_eventrates2.edl    fmaTrigLock.edl
bgoledall.edl	      dgs_eventrates3.edl    fmaVMEstatus.edl
bgorates2.edl	      dgs_eventrates.edl     GeBGO.edl
bgorates.edl	      dgs_Ge_kdm2.edl	     GeBGOmain.edl
BGSrunControl.edl     dgs_Ge_kdm.edl	     geledall.edl
BigSummary.edl	      dgs_getrigrates.edl    genBoard.edl
cagm_DigEnable.edl    dgsGlobal2.edl	     genGlobal.edl
cagm_iocStatus.edl    dgsGlobal.edl	     genIOC_2M_2S.edl
cagm_LiveTS.edl       dgsIOC2.edl	     genIOC_4M_0S.edl
CAGMrunControl.edl    dgsIOC3.edl	     genIOC.edl
cagmTrigLock2.edl     dgsIOC.edl	     gen_linkControl.edl
cloBoard.edl	      dgsiocStatus.edl	     gen_Master.edl
cloChannel.edl	      dgs_linkControl.edl    gen_Master.edl~
clocounterRates.edl*  dgslite.edl	     genRouter.edl
clo_DigEnable.edl     dgs_LiveTS2.edl	     gen_RunControl.edl
clo_digiRates.edl     dgs_LiveTS.edl	     genVMEstats_2M_2S.edl
cloGlobal2.edl	      dgs_lsbTS.edl	     genVMEstats_4M_0S.edl
cloIOC.edl	      dgs_Master2.edl	     gerates2.edl
clo_iocStatus.edl     dgs_Master.edl	     gerates3.edl
clo_LiveTS.edl	      dgsMTrigRegisters.edl  gerates.edl
CLOrunControl.edl     dgs_RlinkControl.edl   getrigall.edl
cloTrigLock2.edl      dgsRouter.edl	     iocStatus.edl
clovBoard.edl	      DGS_Router.edl	     Master.edl
clovChannel.edl       dgsRTrigRegisters.edl  mobBoard.edl
clov_DigEnable.edl    DGSrunControl.edl      mobChannel.edl
cloverrates.edl       DGSrunControl.edl~     mobIOC.edl
clovIOC2.edl	      dgsSender.edl	     monitorVeto.edl
cloviocStatus.edl     dgsTrigCntrl.edl	     MTRegsiters.edl
cloVMEstatus.edl      dgsTrigInfo.edl	     MyriadTrig2.edl
counterRates.edl      dgsTrigLock2.edl	     MyriadTrig.edl
CounterRates.edl      dgsTrigLock.edl	     newFile2.edl
debugScreen.edl       dgsVMEstatus.edl	     null
dfmaCounterRates.edl  dgs_XYMAP.edl	     oldTrig/
dfmaIocStatus.edl     DigChanRegisters.edl   remoteDFMATrig.edl
dfma_linkControl.edl  Dig_D2Win.edl	     Router.edl
dfma_LiveTS2.edl~     Dig_DWin.edl	     RWDebug.edl
dfma_LiveTS.edl       DigEnable.edl	     Sample_scalers.edl
dfma_Master2.edl      Dig_KWin.edl	     screens.tar
dfmaRouter.edl	      Dig_LEDS.edl	     scr.txt
dfmaTrigCntrl.edl     Dig_MWin.edl	     temp.edl
dgs_BGO_kdm2.edl      DigParamContrl.edl     Trace.edl
dgs_BGO_kdm.edl       DigRegisters.edl	     TrigControl.edl
dgs_bgotrigrates.edl  eventRates2.edl	     trigrate_calc.db
dgsBoard.edl	      eventrates3.edl	     TS.edl
dgsBoard.edl.old1     eventRates.edl	     update
dgsBoard.edl.old2     eventRatesLED.edl      VMEstatus.edl
dgsChannel1.edl       fmaDigEnable.edl	     WheelMap.edl
dgsChannel.edl	      fmaGlobal2.edl	     WheelMap_RBV.edl


Scripts List