Difference between revisions of "CNC Bender v10-20070920"

From ATTWiki
Jump to: navigation, search
(Solution To Issue)
(ENHANCED: Improved and Safer Shutdown)
Line 14: Line 14:
 
=ENHANCED: Improved and Safer Shutdown=
 
=ENHANCED: Improved and Safer Shutdown=
  
 +
 +
==Explanation==
 
<ul>
 
<ul>
==Explanation of Potential Problem==
 
  
 
* CNC Bender software saves its current state and setup in a configuration files and registry entries software during shutdown.
 
* CNC Bender software saves its current state and setup in a configuration files and registry entries software during shutdown.
Line 22: Line 23:
  
 
* The result is a possible corruption of this file.<br><br>
 
* The result is a possible corruption of this file.<br><br>
 
+
</ul>
 
==Solution To Issue==
 
==Solution To Issue==
 +
 +
<ul>
  
 
[[image:Cncbender_shutdown_delay.jpg|500px]]
 
[[image:Cncbender_shutdown_delay.jpg|500px]]
Line 37: Line 40:
 
# After the progress bar is filled, CNC Bender saves its configuration data.
 
# After the progress bar is filled, CNC Bender saves its configuration data.
  
 +
Then...
  
 
+
If the power is removed or the system crashes then CNC Bender will shutdown before it attempts to save a partial file and potentially corrupts the configuration data.
If the power is removed or the system crashes  
+
 
+
 
+
 
+
[DISPLAY] Next Step: (FRB Row 2) Move Feed Axis +1.0000 IN Relative
+
FeedPositive = pos0:25.40000000, vel0:694.00000000, ump0:1, cto:60000
+
 
+
{any other commands}
+
 
+
[SECONDARY_PROCLIST] radius_shift_part11, enable
+
 
+
 
+
<br>
+
<br>
+
<br>
+
  
 
</ul>
 
</ul>

Revision as of 20:14, 20 September 2007

CNC Bender User Interface for ProControl


Contents


REVISION Information

10-20070920, September 20, 2007


ENHANCED: Improved and Safer Shutdown

Explanation

    • CNC Bender software saves its current state and setup in a configuration files and registry entries software during shutdown.
    • If the standard shutdown procedure is bypassed due to a loss of power or a system crash, then CNC Bender, in previous versions, may attempt to write a file - only to be interrupted in the shutdown task.
    • The result is a possible corruption of this file.

Solution To Issue

    Cncbender shutdown delay.jpg

    This version solves the problem by placing an intentional delay between the time the operator requests a shutdown and the time the configuration data is written to disk and registry. So...
    1. The operator requests shutdown of software.
    2. CNC Bender hides the interface.
    3. CNC Bender displays a shutdown message on the screen showing a progress bar.
    4. After the progress bar is filled, CNC Bender saves its configuration data.
    Then... If the power is removed or the system crashes then CNC Bender will shutdown before it attempts to save a partial file and potentially corrupts the configuration data.