Difference: DaqSpecial (19 vs. 20)

Revision 202010-08-20 - MatteoDuranti

Line: 1 to 1
 
META TOPICPARENT name="AmsTracker"

Special Operations

Line: 77 to 77
 

How to Create and Load a TDR config file:

  • The stuff to create a config files, create the script to load config files, and then load config files is in:
    ~/TrackerUser/AMSWireCommands/ConfigurationFileTDR/


    In this directory you can find all the stuff (except for TESTjmdc and slowconf.conf of which there's a simbolic link) needed for create and load configuration files for TDRs:

    - ConfigFile: this is the program to create binary config files for TDRs starting from a "human readable" parameters file
    (as example TDRParamFile.txt) and to create the script (LoadConfs.sh) usefull to uplaod the binary files

    - LoadConfs.sh: the script that load the correct configuration file in each TDR

    - TDRParamFile.txt: can be used as a template for the "human readable" parameter file for TDR

    The file of parameters ("human readable file") can be filled using the TDR documentation by Philipp Azzarello
    and taking into account that for "compliantness" a parameter indicated as "N" here has to written as "0 0 N"
    (where the first two numbers are the Group and the SubGroup, here 0).

    The script for loading the configuration file has to be called using 1 parameter
    (the JMDC port to be used, i.e.
    to use JINF-T-B [JMDC ports: 0,3]
    to use JINF-T-A [JMDC ports: 1,2])
  • The procedure has to be:
Changed:
<
<
    1. Create a parameter file or edit the template (* TDRParamFile.txt)
    2. ./ConfigFile * TDRParamFile.txt]] <S1HighThresh> <S1LowThresh> <S2HighThresh> <S2LowThresh> <KHighThresh> <KLowThresh> <ConfFileName>
      the 6 thresholds for external planes ( up to now, it means layer 1 & 8, in the future has to be probably 1 & 8 & 9) HAS TO BE PASSED EXPLICITELY (Thresholds have to be passed in 'standard' way (1, 2, 3.5, ...))
      ConfFileName is the name of the configuration files that will be produced
    3. ./LoadConfs.sh #port #oldconffilename
      #oldconfname is the name of the "old" configuration file to be erased in order to write the new one
>
>
    1. Create a parameter file or edit the template (TDRParamFile.txt)
    2. ./ConfigFile TDRParamFile.txt]] <S1HighThresh> <S1LowThresh> <S2HighThresh> <S2LowThresh> <KHighThresh> <KLowThresh> <ConfFileName>
      the 6 thresholds for external planes ( up to now, it means layer 1 & 8, in the future has to be probably 1 & 8 & 9) HAS TO BE PASSED EXPLICITELY (Thresholds have to be passed in 'standard' way (1, 2, 3.5, ...))
      ConfFileName is the name of the configuration files that will be produced
    3. ./LoadConfs.sh #port #oldconffilename
      #oldconfname is the name of the "old" configuration file to be erased in order to write the new one
 

How to Create and Load a JINF config file:

Changed:
<
<
  • The stuff to create a config files, create the script to load config files, and then load config files is in:
    ~/TrackerUser/AMSWireCommands/ConfigurationFileJINF/


    In this directory you can find all the stuff (except for TESTjmdc of which there's a simbolic link)
    needed for create and load configuration files for JINF-Ts:

    - ConfigFile: this is the program to create binary config files for JINF-Ts starting from a "human readable" parameters file
    (as example * JINFParamFile.txt, with X is the crate number in [0-8])
    and to create the script (LoadConfs_X.sh, with X is the crate number in [0-8])
    usefull to uplaod the binary files

    - LoadConfs_X.sh: the script that load the correct configuration file in JINF-T number X

    - LoadConfs.sh: the script that load the correct configuration file in each JINF-T

    - * JINFParamFile.txt: can be used as a template for the "human readable" parameter file for JINF-T X


    8 different configuration files are created for the 8 crates/JINFs (for now all equals except for crate/JINF 4 [PowerGroup3 with Bias 60V]).
    The file of parameters ("human readable file") can be filled using the JINF documentation by Kounine or the JINF-T one by Philipp Azzarello.
>
>
  • The stuff to create a config files, create the script to load config files, and then load config files is in:
    ~/TrackerUser/AMSWireCommands/ConfigurationFileJINF/


    In this directory you can find all the stuff (except for TESTjmdc of which there's a simbolic link)
    needed for create and load configuration files for JINF-Ts:

    - ConfigFile: this is the program to create binary config files for JINF-Ts starting from a "human readable" parameters file
    (as example JINFParamFile.txt, with X is the crate number in [0-8])
    and to create the script (LoadConfs_X.sh, with X is the crate number in [0-8]) usefull to uplaod the binary files

    - LoadConfs_X.sh: the script that load the correct configuration file in JINF-T number X

    - CreateAndLoadConfs.sh: the script that create and load the correct configuration file in each JINF-T

    - JINFParamFile.txt: can be used as a template for the "human readable" parameter file for JINF-T X


    8 different configuration files are created for the 8 crates/JINFs (for now all equals except for crate/JINF 4 [PowerGroup3 with Bias 60V]).
    The file of parameters ("human readable file") can be filled using the JINF documentation by Kounine or the JINF-T one by Philipp Azzarello.
 
Changed:
<
<
  • The procedure has to be

    - to change and load the config file only for the JINF-T X using JINJ NN and JINJ MM to talk with JINF-T A and JINF-T B:

    1. Create a parameter file or edit the template (* JINFParamFile.txt)
    2. ./ConfigFile * JINFParamFile.txt NN MM
    3. ./LoadConfs_X.sh

    - to change and load the config file on all JINF-Ts using JINJ NN and JINJ MM to talk with JINF-T's A and JINF-T's B:

    1. Edit the template parameter files (* JINFParamFile.txt)
    2. ./LoadConfs.sh NN MM
>
>
  • The procedure has to be

    - to change and load the configuration file BBBB, erasing the old configuration file AAAA, only for the JINF-T X using JINJ NN and JINJ MM to talk with JINF-T A and JINF-T B:

    1. Create a parameter file or edit the template (JINFParamFile.txt)
    2. ./ConfigFile JINFParamFile.txt X NN MM AAAA BBBB
    3. ./LoadConfs_X.sh

    - to change and load the configuration file BBBB, erasing the old configuration file AAAA, on all JINF-Ts using JINJ NN and JINJ MM to talk with JINF-T's A and JINF-T's B:

    1. Edit the template parameter files JINFParamFile_X.txt's (they will be automatically called by the script below )
    2. ./CreateAndLoadConfs.sh NN MM AAAA BBBB
  -- PaoloZuccon - 03-Dec-2009
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback