Configuration With Dlog Config Program - Advantech DLoG MTC 6 Series User Manual

Table of Contents

Advertisement

Internal devices

12.5.2. Configuration with DLoG Config program

The DLoG Config program must be installed for the automatic switch-off module to
function correctly.
If the DLoG Config has not been started, the MTC 6 will carry out a hard shutdown once
the delay time and shutdown time set by the hardware
e.g. via MPCCOM.EXE) has
(
elapsed. In this case, the operating system is not shut down normally before the power is
switched off. The current application is unable to save its data, and the file system
becomes increasingly unstable and inconsistent.
If the DLoG Config has been started, the program can recognize when the operating
system needs to be shut down. Firstly, the Windows message
"WM_QUERYENDSESSION" is sent to all running applications to inform them of the
impending shutdown.
Now every application has to respond within the time that is set in the registry (see the
DLoG Config manual). If a response is not sent in the specified time, the application is
forced to quit.
If there are any open programs with unsaved changes, it may not be possible to
automatically quit them (for example, an unsaved document in WORDPAD.EXE, a
program supplied with Windows). In this case WORDPAD.EXE responds to the Windows
message "WM_QUERYENDSESSION" with a user query to confirm if the current file is
to be saved. Applications that can be quit with the key combination <ALT> and <F4>
(that is, without a final user query) generally send the required response to the
"WM_QUERYENDSESSION" message and are not shutdown "hard".
To ensure that vital data is always saved correctly, applications need to be able to
properly respond to the "WM_QUERYENDSESSION" message, that is, without user
queries and within the set time period.
Further information to the DLoG Config program can be found in the corresponding
manual.
78
User's Manual V2.00
MTC 6 Series

Advertisement

Table of Contents
loading

Table of Contents