NewsCNCnetPDMAbout usSupport
  

CLOSE OPEN DATABASE CONNECTION | CNCNETCONTROL MANUAL

If the currently selected program, service or instance of CNCnetPDM is not connected to a database you see an animated yellow traffic light in section 'Database' followed by the text 'Offline after startup of application' (1). If a database is used and connected the dialog shows a green traffic light icon followed by the text ‘Connection to database succeeded’. In this case button ‘Close’ (2) gets activated.

Close / open database connection (CNCnetControl)

FIG 1:  Close / open database connection in CNCnetControl

If a database is used and you click on button ‘Close’ CNCnetPDM closes the connection to your database and writes all acquired data to the offline-text-file specified in CNCnetPDM.ini. The icon changes to yellow followed by text ‘Set offline’. This feature is very useful for scheduled database management tasks that require database downtime.

If the database connection is closed button ‘Open’ gets activated. Clicking on this button again tries to establish a connection to your database. If successful the icon again changes to green.

If CNCnet PDM cannot establish a connection to your database the color of the icon changes to red followed by an error message. CNCnetPDM then tries to automatically reconnect to your database after the number of seconds specified in CNCnetPDM.ini, section [Connect] -> ReconnectAfter = number of seconds

In case your database is up again you can send the data previously written to the offline-text-file to your database by clicking on button ‘Process’ (3). A dialog opens and shows which offline-text-file is written to the database.

Privacy notice

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

https://www.inventcom.net/support/cncnetcontrol-manual/close-open-database-connection

Support | CNCnetControl Manual | Overview

CNCnetControl is a Graphical User Interface (GUI) to monitor and configure CNCnetPDM running on a local or remote PC. Double clicking CNCnetControl.exe opens up a dialog with... [read more]
Support | CNCnetControl Manual | Overview

Support | CNCnetControl Manual | Device States

The icons and status text (1) for configured devices changes according to their state:... [read more]
Support | CNCnetControl Manual | Device States

Support | CNCnetControl Manual | Device Data

According to the items selected for data acquisition in CNCnetPDM.ini the right lower pane shows incoming data from the devices. If all collectable items are selected output may... [read more]
Support | CNCnetControl Manual | Device Data

Support | CNCnetControl Manual | Close Open Device

Clicking on one of the devices (1) in the left window enables the buttons in section ‘Device’. Instead of ‘Device’ the number and name of the selected... [read more]
Support | CNCnetControl Manual | Close Open Device

Support | CNCnetControl Manual | Connect to Service

Clicking on button ‘Connect’ in section ‘Service’ enables you to connect CNCnetControl to a CNCnetPDM program or service on a remote or the local PC. A... [read more]
Support | CNCnetControl Manual | Connect to Service

Support | CNCnetControl Manual | Manage Service

Clicking on button ‘Manage’ in section ‘Service’ of CNCnetControl opens a dialog window that enables you to select a PC and/or an instance of CNCnetPDM,... [read more]
Support | CNCnetControl Manual | Manage Service

Support | CNCnetControl Manual | Adjust Protocol Level

For debugging purposes ( only! ) it can be useful to increase the level of writing information about program activities to the log file directory. Clicking on button ‘Set... [read more]
Support | CNCnetControl Manual | Adjust Protocol Level

Support | CNCnetControl Manual | Set or Adjust Device Parameters

CNCnetControl enables you to set or change writable variables or parameters at a selected controller. To do so you have to first select a device in the left pane of the... [read more]
Support | CNCnetControl Manual | Set or Adjust Device Parameters
Modified: 2023-11-27