News CNCnetPDM About us Support  
         
  

BACKGROUND SERVICE | CNCNETPDM MANUAL

This section shows the steps to install and start CNCnetPDM as a background service.

CNCnetPDM is able to and, in a production environment, usually runs as a windows background service. To install and start the service proceed as follows.

If you simply double click CNCnetPDM.exe and click on button ‘Install’ in section ‘Service’ an additional dialog with various service parameters opens. However, if you click on ok on most recent MS Windows Operating Systems you most likely will see a popup window with an ‘Access is denied’ message. This is because your user account does not have the appropriate rights to install a background service.

If you open CNCnetPDM.exe with elevated privileges (e.g. by right click + ‘Run as Administrator’) you are able to perform the necessary steps. Clicking on button ‘Install’ opens the following dialog:

Install dialog

FIG 1:    Service install dialog of CNCnetPDM

Service name is CNCnetPDM (1), no instance is defined (for details see Working with instances). By clicking the button right of field file name (2) you could select and use a different file name and folder for the service, usually not necessary. Checking Automatic startup (3) causes the service to automatically start when the PC is turned on which should be checked in a production environment. If checked you can also select a service (4) that has to be started before CNCnetPDM starts (e.g. your database). Interactive only has to be checked when the service has to receive and send Windows Messages (e.g. legacy NETDDE), usually this is not necessary. TOP

Section ‘Service Account’ contains information about the user account the service runs under. If nothing is entered here the service runs under the ‘Local System’ account which is default for most Windows background services. Enter information here only if you’d like to run the service under a different account. Please note that this account has to have the appropriate permissions to run a service. Usually no data has to be entered here.

Clicking on button Ok installs CNCnetPDM as a background service on your PC and the install dialog is closed. Now button ‘Start’ in section ‘Service’ of the main dialog gets active. Clicking on this button starts the background service. You can verify that by opening services (command line: services.msc) on your PC:

Installed background service (SCM)

FIG 2:    Installed Windows Background Service CNCnetPDM

By clicking on buttons ‘Stop’ or ‘Uninstall’ in the main dialog of CNCnetPDM you can stop or uninstall the service. TOP

Privacy notice

This website uses cookies. By continuing to use it you agree to our privacy policy. 

https://www.inventcom.net/support/cncnetpdm-manual/background-service
Support | CNCnetPDM Manual | Overview
CNCnetPDM Version 6.0.0.0 User Manual | Here you can find everything you need to... [read more]
Overview
Support | CNCnetPDM Manual | Setup
This section describes the steps to install CNCnetPDM. EXTRACT FILES Create a folder for CNCnetPDM on your PC or at a server. Due to Windows UAC please do... [read more]
Setup
Support | CNCnetPDM Manual | Foreground Program
This section describes the steps to start CNCnetPDM as a foreground program. After extracting the files it is possible and save to immediately start CNCnetPDM. If you like to... [read more]
Foreground Program
Support | CNCnetPDM Manual | Instances
This section describes the steps to setup and run multiple instances of CNCnetPDM on a single PC. In case you would like or have to work with different parameters for specific... [read more]
Instances
Support | CNCnetPDM Manual | CNCnetPDM INI File
This section describes the steps to adjust CNCnetPDM via it's INI file according to your needs. CNCnetPDM.ini contains all information needed to control the functions of the... [read more]
CNCnetPDM INI File
Support | CNCnetPDM Manual | MTConnect Overview
The CNCnetPDM MTConnect Adapter enables you to access your machine controllers directly from within your applications or any MTConnect compatible program like an... [read more]
MTConnect Overview
Support | CNCnetPDM Manual | MTConnect Getting Started
Here you can find everything you need to know to get started with the CNCnetPDM MTConnect adapter. This section shows all necessary steps to setup CNCnetPDM, use the MTConnect... [read more]
MTConnect Getting Started
Support | CNCnetPDM Manual | MTConnect Standard Agent
This document describes setup of the MTConnect Standard Agent it’s usage and test with the CNCnetPDM MTConnect Adapter. Prerequisites As this example uses a simple... [read more]
MTConnect Standard Agent
Support | CNCnetPDM Manual | SQL Server Database Tables
This section describes the steps to setup an MS SQL Server database and required as well as optional tables for CNCnetPDM. Although not absolutely necessary for testing it is... [read more]
SQL Server Database Tables
Support | CNCnetPDM Manual | Oracle Database Tables
This section describes the steps to setup required and optional database tables for CNCnetPDM in case you're using an Oracle database. For an Oracle database the information... [read more]
Oracle Database Tables
Support | CNCnetPDM Manual | MySQL MariaDB Database Tables
This section describes the steps to setup required and optional database tables for CNCnetPDM in case you're using a MySQL or MariaDB (Version >= 5.5!)  database. For... [read more]
MySQL MariaDB Database Tables
Support | CNCnetPDM Manual | Database Connectivity
To connect to a database CNCnetPDM uses a Universal Data Link (.udl) file that contains information about your database. Connect to an MS SQL Server database... [read more]
Database Connectivity
Support | CNCnetPDM Manual | Database Output
For both, MS SQL-Server and Oracle databases CNCnetPDM writes data acquired from devices to table MTH_RAW_DATA and/or MTH_ONLINE_DATA. Both tables have the following columns... [read more]
Database Output
Support | CNCnetPDM Manual | Licensing
When you start the program or service the first time without a license CNCnetPDM automatically creates a license number for your copy. Without a license number initially... [read more]
Licensing
Modified: 2018-12-05