News CNCnetPDM About us Support  
         
  

CLOSE OPEN DATABASE CONNECTION | CNCNETCONTROL MANUAL

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

Close / open database connection (CNCnetControl)

FIG 1:  Close / open database connection in CNCnetControl

If 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. TOP

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]
Overview

Support | CNCnetControl Manual | Device States

The icons and status text (1) for configured devices changes according to their state:... [read more]
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 (1) from the devices. If all collectable items are selected output... [read more]
Device Data

Support | CNCnetControl Manual | Close Open Device

Clicking (1) on one of the devices in the left window enables the buttons in section ‘Device’. Instead of ‘Device’ the number and name of the selected... [read more]
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]
Connect to Service

Support | CNCnetControl Manual | Manage Service

Clicking on button ‘Manage’ in section ‘Service’ also opens a dialog window that enables you to select a PC and/or an instance of CNCnetPDM, see chapter... [read more]
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]
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]
Set or Adjust Device Parameters
Modified: 2018-01-12