Windows NT+ services use will let you:
Note 1: you must be logged in as an administrator in order to change the configuration or control the service in any way (start, stop, pause, continue).
Note 2: On Windows Vista and later you should start the program with elevated administrator privileges.
If you want to use the program as a service application, then, please, go to the "Options -> Program options -> Windows service" tab (fig. 6.4.1), then enable the "Use program as a service" check box. Later, please, specify the startup type of the service. There can be following variants:
Fig. 6.4.1 Service settings
If you want to change program settings while service mode, then enable the "Allow service to interact with desktop" option. In this case, the program will put the icon to the SysTray (fig. 6.4.2). But then your interactive service will be restarted while user log off.
Fig. 6.4.2 Service icon in Systray
If you use data bases or special drivers, before service run, these applications must be run. You can specify what services should be started before Advanced OPC Data Logger in the "Program depends on services" window (fig. 6.4.3).
Fig. 6.4.3 Service settings #2
In some case you need to start Advanced OPC Data Logger before starting other services. In this case you should:
After you installed the service mode of the program, restart a computer or run the service manually from the "Services" window in the Control panel (fig. 6.4.4)
Fig. 6.4.4 Manual service run (in Windows 2000)
After start of the service, the service processes names will be displayed in a process list: opcloggersrv.exe and opclogger.exe (fig. 6.4.5). The 'opcloggersrv.exe' application makes interface between the service manager and the Advanced OPC Data Logger software. Unlike srvany.exe utility, our service stops safely.
Fig. 6.4.5 Process list
If you want to configure the program as a service, then you must be logged with administrator rights. The service application can be controlled, stopped or removed with help of a command line string. Run opcloggersrv.exe with following parameters: