120 likes | 235 Views
The TESTjmdc tool & JINF-T/TDR Configuration File Creation. TESTjmdc Configuration Files for JINF-T/TDR. TESTjmdc. This program is used to send AMSWire Commands (cfr. Flight Software for xDR and JINx nodes in AMS-02 by Kounine) directly to AMSWire nodes using JMDC as “proxy”
E N D
The TESTjmdc tool & JINF-T/TDR Configuration File Creation TESTjmdc ConfigurationFilesfor JINF-T/TDR Matteo Duranti
TESTjmdc • This program is used to send AMSWire Commands (cfr. Flight Software for xDR and JINx nodes in AMS-02by Kounine) directly to AMSWire nodes using JMDC as “proxy” • This program is on pcpoc08 under:/home/ams/TrackerUser/AMSWireCommands/(cfr. README in this directory or the AMSTracker TWiki for a TESTjmdc usage help • It depends from slowconf.conf (in the same directory), that is used to choose which HRDL to use.The content of this file is something like: eas:hrdl pcgscXX Matteo Duranti
TESTjmdc When and why use this program?! • This program give us the possibility to talk directly with a node and to get a reply from it (is not the same using command from JMDC) • This program let us download/upload file from/to a node So, in general is used when we want the “status” of a node or when we want to manage the FLASH of the node: as example -> TDR/JINF-T configuration files Matteo Duranti
TDR/JINF Configuration File A Configuration File: • It’s on the node FLASH • Contains settings for the node itself When & why use a configuration file?! • To have a list of settings loaded by default on boot OR • To change a list of settings without sending commands, node by node and setting by setting Matteo Duranti
TDR Configuration File • Is used for all the settings in TDR DSP codes(cfr. “update node” by P. Azzarello): Thresholds Reduction mode TAS properties Calibration settings • It’s a default file Matteo Duranti
TDR Configuration File Example: # Group SubG ID Value #-------------------------------------------- #Cluster Seed Factor S1 mult by 8 (1C=28->3.5, 20=32->4) 0 0 1 20 #Cluster lower threeshold Factor S1 mult by 8 (8=8->1, 10=16->2) 0 0 2 10 #Cluster Seed Factor S2 mult by 8 (1C=28->3.5, 20=32->4) 0 0 3 20 #Cluster lower threeshold Factor S2 mult by 8 (8=8->1, 10=16->2) 0 0 4 10 #Cluster Seed Factor K mult by 8 (1C=28->3.5, 20=32->4) 0 0 5 20 ... … Matteo Duranti
TDR Configuration File Through the tools in pcpoc08 under/home/ams/TrackerUser/AMSWireCommands/ConfigurationFileTDR/the configuration file for TDR can be created and wrote on TDR FLASHThe procedure is:1) Create a parameter file or edit the template (TDRParamFile.txt)2) ./ConfigFile TDRParamFile.txt3) ./LoadConfs.sh #port This creates configuration files for TDR and writes them on the TDR’s. WARNING: The parameter “TAS Ladder type” (which type of TAS ladder each ladder is) is changed AUTOMAGICALLY so each TDR’s config file has the correct one (based on its “geographical” position) Matteo Duranti
JINF-T Configuration File • Is used for all the settings in JINF-T DSP codes(cfr. Flight Software for xDR and JINx nodes in AMS-02by Kounine for settings regarding a JINF and“update node” by P. Azzarello for settings regarding JINF-T): MasksSSF State (!!!!!) Voltages TTH Delay Time … • It’s a NOT a default file (A & B side redundancy + SSF State) Matteo Duranti
JINF-T Configuration File Example (with voltages settings): # Group SubG ID Value #-------------------------------------------- #Slave Masks #Desired MASK (0), MSBytes (Defalut 0x00FF) 0 1 0 0x00FF … #JINF Internal registers #SSF State (Default 0x0001) 1 1 0 0x0000 … #JINF-T dedicated registers #TBS Bias LR Hot, PowerGroup3 (Default 0x0050) //for now, then 0x0001!!! 8 1 4 0x003C #TBS Bias LR Cold, PowerGroup3 (Default 0x0050) //for now, then 0x0001!!! 8 1 5 0x003C Matteo Duranti
JINF-T Configuration File Through the tools in pcpoc08 under/home/ams/TrackerUser/AMSWireCommands/ConfigurationFileJINF/the configuration file for JINF-T can be created and wrote on JINF-T FLASHTo change and load the config file for only one JINF-T: 1) Create a parameter file or edit the template (JINFParamFile_X.txt) 2) ./ConfigFile JINFParamFile_X.txt 3) ./LoadConfs_X.sh To change and load the config file on all JINF-Ts: 1) Edit the template parameter files (JINFParamFile_X.txt) 2) ./LoadConfs.sh Matteo Duranti
Future for JINF-T Configuration File But many parameters… … So for the future can be very usefull a Graphical Tools for manage all the settings in JINF-T Configuration File This program has to be something like: Matteo Duranti
Future for JINF-T Configuration File Matteo Duranti