When running the OPC DataHub as a service in Windows Vista, 7, and 2008, you do not have access to the System Tray icon and the Properties window. Instead, you need to configure the DataHub while it is running as a normal program, and then install it as a service. If you need to change the DataHub configuration after you have installed it as a service, you will first have to uninstall as a service, make the changes as a normal user, and then install as a service again.
The best way to install the DataHub as a Windows service is from a shortcut icon on the desktop. Here's how to create the icons you'll need.
"C:\Program Files\Cogent\OPC DataHub\OPCDataHub.exe" /regservice
The default entry for the Start in: field for 32-bit operating systems is:
"C:\Program Files\Cogent\OPC DataHub"
If you are installing on a 64-bit operating system, you should enter:
"C:\Program Files (x86)\Cogent\OPC DataHub"
"C:\Program Files\Cogent\OPC DataHub\OPCDataHub.exe" /unregservice /regserver
You can now use these shortcut icons to install or uninstall the OPC DataHub as a Windows service. Remember, you will need to uninstall the OPC DataHub as a service and install it as a normal program when you want to access the System Tray icon and the Properties window. Once you have made any necessary configuration changes to the OPC DataHub, you can reinstall it as a service.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.