GUI, Scripts And Analysis Code: Difference between revisions

From HELIOS Digital DAQ
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=Starting ACQ Control=
=Starting ACQ Control=
'''heliosCommander'''


  #!/bin/bash -l
  #!/bin/bash -l
Line 10: Line 12:
   export EDMFILES=/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/helios/edm/screens
  export EDMDATAFILES=$EDMDATAFILES:/global/devel/systems/edm/screens
   export EDMSCRIPTS=/global/devel/systems/helios/edm/scripts
   export EDMSCRIPTS=/global/devel/systems/helios/edm/scripts
  #  echo "export EDMDATAFILES=$EDMDATAFILES"
  #  echo "export EDMDATAFILES=$EDMDATAFILES"
   $EDM -x runControl &
   $EDM -x -noedit HELIOSrunControl &
  echo "Edits are possible in this mode."
# echo "Edits are possible in this mode."
  }
  }
  runEdm
  runEdm
Line 19: Line 22:
All of these exports could (and should be placed in the ''.bashrc'' file).
All of these exports could (and should be placed in the ''.bashrc'' file).


'''runControl''' is a call to the main gui screen located in ''/global/devel/systems/helios/edm/scripts.'' This script should be modified to host more information than it currently does.
'''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'''
 
 
 
== Scripts List ==

Revision as of 18:59, October 16, 2016

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


Scripts List