TWiki> LHCb Web>LHCbRICH>RichUpgrade>WinCCProjects (revision 1)EditAttachPDF

Naming conventions and port numbers


Install the MiniDAQ (ECS+DAQ) project from scratch

Create a new WinCC project.
Copy the fwInstallation folder into the project folder and install the jcop fw components: fwCore, fwConfigurationDB, fwDIM and fwTrending.
Install the fwMiniDAQ component.
Open the MiniDAQ fsm, click on Configure Subscriptions, Configure Multi, delete existing devices, create the RICH_TELL40 type and apply the default settings for each device. Open the HW tool and create the TELL40_RICH device type using the appropriate xml. Also create the RICHPDMDB device type using the appropriate xml.
Define the other devices in the MiniDAQ FSM view and click on subscribe all. The click on the Create FSM button.
Install the fwRich component.
Open the fwRich_Configurator.pnl panel to create the new PDMDBs clicking on the Generate button.
Select the new devices in the table, select the firmwares, and click on the Update Selected button.
Click on the Generate FSM button.
Create the recipe DEFAULT/CONFIGURE in the hardware view tab.
Check that everything is ok within the fsm, i.e. try to take a run.
Modify the config file of the project to include the lbRichHV, lbRichDCS and lbRichECS as distributed peers. (it is not needed if the config file is present in the fwRich.xml file)
Import the fwRichMiniDAQtop.dpl using the Ascii Manager and append the RICH_DCS and RICH_HV partitions to the MiniDAQ fsm.

Add the HV and DCS partitions to the MiniDAQ FSM

FSM view, configuration, Create/Configure FSM objects, Import from sys: (lbRichHV or lbRichDCS) and import RICH_HV and RICH_DCS accordingly to the selected system.
Right click on MiniDAQ partition, select Add Object(s) from FSM View, System(s) (select the system), and the type you want to add (RICH_HV or RICH_DCS), tick as Control Unit, click OK.
Generate FSM.
Change the type of MiniDAQ from MiniDAQtop to MiniDAQtopRICH.

Add the PDMDB ADC monitoring to the DCS project

On the machine running the DIM_DNS_server type

cat etc/sysconfig/dnsd
and add the line

Install the fwGbt and fwHw component. Add -dim_dns_node to the options for dim manager involving Gbt.
From the Hw tool panel, ADVANCED tab, click on XML file button and select the HWDescription_PDMDB(R,H)_ADC.xml file containing the ADC line registers. Click import. Click on Edit to check the script is reasonable. Click on Execute. Select the type and create devices in Hardware tab. Click subscribe and press OK to activate the DIM manager. Add the -dim_dns_node option to the corresponding manager. -- GiovanniCavallero - 2019-08-14

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2019-08-14 - GiovanniCavallero
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback