Automatic startup of PVSS projects at boot time as a Windows Service

Configuration of Service + on control PC

To have PVSS projects started at boot time under Windows, please send a mail to Online Helpdesk: lbonsupp@cernNOSPAMPLEASE.ch with the following information :

  • Name of the computer where the project[s] will run on
  • Name of the project[s]
  • Name of the Windows service ( usually the PVSS project name seems to be the best choice...) and a description for the service ( ie: Muon High Voltage side A)
  • If project config file is not in L:\localdisk\pvss\< PROJECT NAME >\config, provide its location ( but it should not be different if you follow the LHCb ECS Integration Guideline https://edms.cern.ch/file/732486/3/LHCb_ECS_Guidelines.pdf smile )
  • Tell us if your project need to start an OPC server, because in this case specific rights need to be granted to the account ( "group" operator ) from which service is started

All projects should have manual startup for all UIs.

Starting the Project as a Windows service

When the configuration of the service is fully tested, the Project service is defined as an automatic service started at boot time, and only PVSS UI needs to be manually attached to the project. Anyway it coult be possible to stop and start the service with:

  • Windows services standard UI ( launch services.msc )
  • Service + UI
  • From the command line: > net start [stop] "Service Name"

Attaching a PVSS UI to a project started as a service:

After logging to a control PC where a PVSS project is started as a service, you need to manually attach a PVSS UI to the running project. You can start PVSS Gedi by running:

C:\ETM\PVSS2\3.6\bin\PVSS00ui.exe -proj "PROJECT NAME"
or
C:\ETM\PVSS2\3.6\bin\PVSS00ui.exe -config "Path to config file"

Or you can start a specific panel with "-p" option:

C:\ETM\PVSS2\3.6\bin\PVSS00ui.exe -proj "PROJECT NAME" -p fwInstallation\fwInstallation.pnl (## You must provide the path to the panel starting from PVSS root ##)
to start the FrameWork installation tool

For all others options , try:

C:\ETM\PVSS2\3.6\bin\PVSS00ui.exe -help

-- GaryMoine - 29 Apr 2008

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2008-04-29 - GaryMoine
 
    • 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-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