/* File: excerpt_m_new_dtab.txt E. Bracke september 2007. * Shows grouping of RT and Server code as function of database definitions: * - in the Fesa deployment document: * - All Bnldsp classes defined as 'automatic'. * - Classes TRIG, SIGNAL, MUX, SCOPE server interface / code inside FesaSharedServer_S * - Classes TRIG, SIGNAL, MUX: defined as 'shared-server-interface' (No RT actions; Server actions). * - Classes SCOPE: defined as 'shared-server-split' (RT actions; Server actions). * - All other classes: defined as 'separate-server-split' (RT actions; Server actions). * - in the Hardware Configuration DataBase: * - Server code for classes BIQUAD, DDC, GFAS, RFRE, SDDS, TIM copied, autostart, enabled * - Server code for class MEDQ copied, autostart, inhibit * - Server code for classes TRIG, SIGNAL, SCOPE, MUX, CTL copied, no autostart, enabled * - RT code for classes BIQUAD, DDC, GFAS, RFRE, SDDS, TIM copied, autostart, enabled * - RT code for class MEDQ copied, autostart, inhibit * - RT code for classes TRIG, SIGNAL, SCOPE, MUX, CTL copied, no autostart, enabled * - Mixed code for class MEDBUG copied, no autostart, enabled. * * Note: * Here, 'copied' means that during transfer.ref parsing the executable * code, if available in: /dsc/local/bin, gets copied into the usual * Bnldsp workdirectory at: /dsc/local/data/BNLDSP/BnldspXXX * In the Hardware Configuration DataBase this is done with the Program Macros: * - 'BNLDSP_X' for: copy, autostart * - 'BNLDSP_X_NOSTART' for: copy, no autostart * 'X' specifies: server code: -> 'S' * RT code: -> 'R' * Mixed RT+Server: -> 'M' * For more info, see document: fecConf.pdf * * Modification history: * 20070918113000 Creation MUTAD. E. B. */ [cs-ccr-dev1] /dsrc/tst/dleitst3 > make new_dtab Start file generation for DSC dleitst3 Write Offset Calculation program to file /tmp/dleitst3_gm_off.c Write Data Table to file /tmp/dleitst3_gm_dt.c Write Property Branch Table to file /tmp/dleitst3_gm_pbt.c Write Property Number data to file /tmp/dleitst3_propnum.c Update constants in table devices End of file generation: all OK. Extracting Fesa data for dleitst3 from Oracle -> /ps/local/Linux/fesa/2.9/FesaFecInstantiate.pl dleitst3 . restore instantiation unit for dleitst3, BnldspBIQUAD, 1 restore instantiation unit for dleitst3, BnldspCTL, 1 restore instantiation unit for dleitst3, BnldspDDC, 1 restore instantiation unit for dleitst3, BnldspGFAS, 1 restore instantiation unit for dleitst3, BnldspMEDBUG, 1 restore instantiation unit for dleitst3, BnldspMEDQ, 1 restore instantiation unit for dleitst3, BnldspMUX, 3 restore instantiation unit for dleitst3, BnldspRFRE, 1 restore instantiation unit for dleitst3, BnldspSCOPE, 5 restore instantiation unit for dleitst3, BnldspSDDS, 1 restore instantiation unit for dleitst3, BnldspSIGNAL, 2 restore instantiation unit for dleitst3, BnldspTIM, 1 restore instantiation unit for dleitst3, BnldspTRIG, 3 restore instantiation unit for dleitst3, LTIM, 29 Fesa FecDeploy dleitst3 -> /ps/local/Linux/fesa/2.9/FesaFecDeploy.pl dleitst3 ppc4 . Look for equipment-links in design-document for LTIM, v29. Look for equipment-links in design-document for BnldspTRIG, v3. Look for equipment-links in design-document for BnldspSIGNAL, v2. Look for equipment-links in design-document for BnldspMUX, v3. Look for equipment-links in design-document for BnldspSCOPE, v5. Look for equipment-links in design-document for BnldspBIQUAD, v1. Look for equipment-links in design-document for BnldspDDC, v1. Look for equipment-links in design-document for BnldspGFAS, v1. Look for equipment-links in design-document for BnldspMEDQ, v1. Look for equipment-links in design-document for BnldspRFRE, v1. Look for equipment-links in design-document for BnldspSDDS, v1. Look for equipment-links in design-document for BnldspTIM, v1. Look for equipment-links in design-document for BnldspCTL, v1. Look for equipment-links in design-document for BnldspMEDBUG, v1. pass equipment-friend-link string 'BnldspSCOPE:5,BnldspSIGNAL:2,BnldspTRIG:3' as input parameter to MakefileFEC.xsl. pass equipment-interface-link string 'BnldspTIM:1,BnldspSCOPE:5' as input parameter to MakefileFEC.xsl. Generate C++ wrapper to realize RT task for class BnldspSCOPE Generate C++ wrapper to realize RT task for class LTIM Generate C++ wrapper to realize RT task for class BnldspBIQUAD Generate C++ wrapper to realize RT task for class BnldspDDC Generate C++ wrapper to realize RT task for class BnldspGFAS Generate C++ wrapper to realize RT task for class BnldspMEDQ Generate C++ wrapper to realize RT task for class BnldspRFRE Generate C++ wrapper to realize RT task for class BnldspSDDS Generate C++ wrapper to realize RT task for class BnldspTIM Generate C++ wrapper to realize RT task for class BnldspCTL Generate C++ wrapper to realize dedicated server for class LTIM Generate C++ wrapper to realize dedicated server for class BnldspBIQUAD Generate C++ wrapper to realize dedicated server for class BnldspDDC Generate C++ wrapper to realize dedicated server for class BnldspGFAS Generate C++ wrapper to realize dedicated server for class BnldspMEDQ Generate C++ wrapper to realize dedicated server for class BnldspRFRE Generate C++ wrapper to realize dedicated server for class BnldspSDDS Generate C++ wrapper to realize dedicated server for class BnldspTIM Generate C++ wrapper to realize dedicated server for class BnldspCTL Generate C++ wrapper to realize a shared Fesa server for BnldspTRIG BnldspSIGNAL BnldspMUX BnldspSCOPE Generate C++ wrapper to realize single compound server+RT for class BnldspMEDBUG Genereate perl-script for the FEC start-up sequence (with middleware server automated naming) Extracting transfer.ref for dleitst3 from Oracle Get VME module data for dsc dleitst3 - Check VME modules ... - Check camac crates, if any ... - Check crate slots ... - Check interrupts ... - Check base addresses ... - Check drivers ... - Check program startup definition ... Write IOCONFIG data Write program startup data (negative seqno) Write driver initialisation data Write program startup data (positive seqno) Write motd file End of program. Result on files /tmp/dleitst3_transfer.ref and /tmp/dleitst3_motd NO GM equipment comparing transfer.ref files: < # $Id:$ > # $Id: transfer.ref,v 1.43 2007/09/18 06:58:15 bracke Exp $ In case of any unexplained change donot forget to rebuild it with "make transfer.ref" ================================================ Do you want to compile (y/n)?