Introduction:
This twiki page introduct the method of how to start your own PVSS project as a windows service. The idea is, we develop(use) a application which can be added as a Windows service, and this application maintains a program list. Fortunately, we already have something available:), you can get it from here
http://sergueev.home.cern.ch/sergueev/hcal/AppliMon.zip
Step by Step:
- Download in unzip the AppliMon.zip, the "DCS Application Starter" will be added as a Windows service. We recommend you unzip it to L:\pvss\AppliMon
- Double-click the ApliConfi.exe to config a list of the program you want.
- Add L:\...\dns.exe to the first of the list if you want DNS run on your machine.
- Add something like this to the list to run your PVSS project
C:\ETM\PVSS2\3.6\PVSSpmon.exe -config L:\pvss\...\config
- If you want to active the watchdog program at the same time, add the WatchDog.exe as well.
- In the Windows Service management panel (Right-click "My Computer", and select "Manager", then select "Service"), you will find a item called "DCS Application Starter", change it to "Manual" or "Automatically" as you like.
- If you want to start the service manually, just open the property dialog for the choose "start" option.
- Note that, all the PVSS panel will be show on background, it means that the panels are not visible even to the user who runs the service!
--
KaikuoZHUO - 22 Jun 2007